js scroll div
- Started
- Last post
- 8 Responses
- foreign
hey, i'm looking for scrollable div javascript source code: basic div with text content + 2 buttons for scrolling up/down.
i searched here, and google - can't find a decent, cross browser script that's clean and easy to implement.
thanks... it's late...
ha, and today is supposed to be the start of a long weekend.
- version30
http://pixeltwins.com//content/a…
look at the source, find the js
you should be able to figure it out from there
- versa0
the ghtml code is way better than i could do in js, but doesnt' work well in css environments with relative positioning/nesting
i would recommend www.squidfingers.com div scroller as it seems more flexible overall
but i've used both, and appreciate those guys's efforts alot
- foreign0
thanks version.
- foreign0
yeah, squidfingers - i remembered that site but couldn't think of the name.
you're right versa, it didn't work very well - i can't get the clipping and mousetracking to work properly.
- ldww0
you can just do it with css.
[div style="height: 100px; width: 100px; overflow: scroll;"]dfsdfsdf[/div]