SilentS
-
Posts
3 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by SilentS
-
-
I have a frame-layout with a simple javascript that lets me scroll the content in a frame with a <a>-tag instead of the ordinary scrollbar. It's based onOnClick="parent.thumbs.scrollTo(0,0)"Could I replace "parent.thumbs" with something similar pointing to the overflow area I've created? I've tried to use "div.scroll" and set it to overflow so a scrollbar appears and link the code in different ways nothing works. So is it even possible or do I have to use a frame to be able to scroll via this code?/Regards, Robert
-
I have a frame-layout with a simple javascript that lets me scroll the content in a frame with a <a>-tag instead of the ordinary scrollbar. It's based onOnClick="parent.thumbs.scrollTo(0,0)"Is it possible to use a similar code to scroll the content in an overflow area? I've tried to use div#scroll and set it to overflow so a scrollbar appears and link the code in different ways nothing works. So is it even possible or do I have to use a frame to be able to scroll via this code?/Regards, Robert
Scrolling content in a css-overflow area?
in JavaScript
Posted
Looks like we're not thinking about the same thing. I have no problem making an overflow area with scrollbars. What I'm looking for is a way to scroll that area without directly using the scrollbar. With frames there's no problem, I just use the onClick="parent.(frame).scrollTo(x,y)". I wish to replace "parent.frame" with something that points to the "overflow-area".