marley75
(Mar Ley)
1
“how to” On mouse click or mouse over start scrolling down or up a scroll bar selected section.
jonathan
(Jonathan Deutsch)
2
This would require javascript; you can generally control page scrolling via window.scrollTo().
marley75
(Mar Ley)
3
Thanks a lot. Can you please send me an example on a hype doc?
scroll example.zip (32.1 KB)
Daniel
4
You might want to check these threads:
MaxZieb
(Loves Hype)
5
... or use hypeDocument.scrollToSelector
1 Like
marley75
(Mar Ley)
6
Thank you, but scrolling inside a selected area with scroll bars. clicking outside the area to scroll
MaxZieb
(Loves Hype)
7
With the script I posted above you can define a “context”.
Just saw that the context option has problems with the positioning in Hype.
jonathan
(Jonathan Deutsch)
8
To clarify, you are looking to scroll a group element? You could do something like:
var groupElement = hypeDocument.getElementById("mygroup");
mygroup.scrollTop += 10;
Example: ScrollingGroup.hype.zip (18.2 KB)