Fixed Position in Lectora 16
January 4, 2017 12:00 AM
Is there a way to have buttons (or objects with actions) fixed position in Lectora 16? I'd like to 'sticky' four buttons to the top of my page, when the rest of the page scrolls.
I've read Darrel's blog on how to modify CSS styles for text entry boxes, and was able to add position:fixed there - but buttons, images, text boxes, shapes - they all have inline styling that defines position:absolute.
I've also examined Math's One-page-Setup sample, which features images in fixed position - in this one it looks like the fixed position div's are built from scratch in the js - I really want to avoid doing that if possible, and especially want to avoid hard-coding the interactive actions (I want to use native Lectora actions).
Thank you!!
-Becky
Discussion (2)
Hi, Becky, check out this thread http://community.trivantis.com/forums/topic/fixedfloating-navigation-bar-in-lectora-16/
That should do the trick.
Thanks - I forgot to mention, I have tried that but I got a slew of errors...
So I just called in a second pair of eyes who noticed the quotes were wrong because I copied the code in an effort to reproduce it exactly. So, that's a day lost to formatted quotation marks... gotta love JavaScript. :(
Thank you Darrel, I so appreciate your posts!
Discussions have been disabled for this post