Explore the community Forums Lectora Lectora Questions & Answers Glossary Skip Options Reply To: Glossary Skip Options

#375993 Score: 1
Profile photo of Darrel Somoza
Darrel Somoza
Member
contributor
friend finder
beginner
intermediate
junior moderator
advanced
wise owl
curious george
profile
209 pts
@Klaatu

Check out the attached. Is this what you are shooting for? I was overthinking it originally. I was thinking it had to be accomplished dynamically, however, since the client can’t change the glossary without your altering the .awt and re-publishing it becomes really simple. The answer is to place a run JavaScript action that removes that button from the tab index on each button that does not have a glossary entry. In the future if you add content just remove the action from that button.

With jQuery: $(‘#button131383btn’).removeAttr(“tabindex”); // D

Without jQuery: document.getElementById(“button129523btn”).removeAttribute(‘tabindex’); // D

This post has received 1 vote up.