Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

JavaScript Forum


You are currently viewing our JavaScript Forum as a guest. Please register to participate.
Login



Reply
Old 11-18-2005, 11:21 AM scrolling to a <LI>
Average Talker

Posts: 19
Trades: 0
I have a scrollable div that I have an unordered LIst in. Sometimes the list gets long and an item of interest to my user (he's clicked on it previously) is scrolled off to the bottom. Is there a way, when the page is loaded, to scroll to that List item?
I've seen this before when someone would have <U> tags, search for the <U> tags, and then do a scrollintoview on the next to the last item in the collection (maybe it's ordered backwards or something).
What what if I have something that isn't with <U> tags. How can I flag it so that I can scroll to it the next time I come to the page?
HockeyFan is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 11-18-2005, 01:17 PM
funkdaddu's Avatar
Web Design Snob

Posts: 635
Trades: 0
I don't think that's going to work with a div with scrollbars. The function scrollTo() only works on windows, AFAIK. Can I see the page, I might think of some other solution...
funkdaddu is offline
Reply With Quote
View Public Profile Visit funkdaddu's homepage!
 
Reply     « Reply to scrolling to a <LI>
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB 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.14952 seconds with 12 queries