Reply
How to make a div scroll?
Old 05-17-2005, 06:22 PM How to make a div scroll?
brokensoul2271's Avatar
- - - - - - - - -

Posts: 750
Location: Lancashire, UK
I was wondering if someone could tell me how to make a div scroll automatically using Javascript.
Thank you in advance
__________________
Yes, indeed...
WebDevWorld.net | StrangeDarkness.com | MyNEWBlog
brokensoul2271 is offline
Reply With Quote
View Public Profile Visit brokensoul2271's homepage!
 
When You Register, These Ads Go Away!
Old 05-17-2005, 06:58 PM
pr0jekt's Avatar
Skilled Talker

Posts: 60
Location: Victor Harbor, South Australia
<div style="height:100px; overflow:scroll">

TEXT

</div>

the basic bits are:u need to set the height, and when the text tries to overflow this height, itll: scroll
__________________
PRŲJEKT STUDIOS

Im new here so play nice :)
pr0jekt is offline
Reply With Quote
View Public Profile Visit pr0jekt's homepage!
 
Old 05-18-2005, 08:15 AM
Novice Talker

Posts: 13
Location: Sydney Australia
if you want to make is scroll by itself you're going to have to attach the scrollTo function to your element then call it on page loading
rimian is offline
Reply With Quote
View Public Profile Visit rimian's homepage!
 
Old 05-18-2005, 09:09 AM
brokensoul2271's Avatar
- - - - - - - - -

Posts: 750
Location: Lancashire, UK
Ok thanks... I'll have a go
__________________
Yes, indeed...
WebDevWorld.net | StrangeDarkness.com | MyNEWBlog
brokensoul2271 is offline
Reply With Quote
View Public Profile Visit brokensoul2271's homepage!
 
Reply     « Reply to How to make a div scroll?
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.12040 seconds with 12 queries