Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

setting anchor in scrolling div container 1

Status
Not open for further replies.

mikeadn

Programmer
Jan 21, 2004
14
US
I'm interested in knowing if it is possible to set an anchor in a scrolling table with a locked header row. This will be done in ASP, but just need to know the HTML side of this puzzle. I need to anchor a row so when they select a row the page reloads and displays additional information on the side. The problem is that when it reloads, the whole page and scroll <div> is loaded again, placing the first row back at the 1st visible row. This is a pain for a user to keep scrolling down after a selection is made. This whole page is in a table, not frames. We don't want to use frames. If you can help out in any way, please respond. Thanks

Mike Cormier
May God bless everything you do...
 
I've not tried putting an anchor in a scrolling table, so cannot tell you if it works or not.

Have you tried it? Why not just give it a go?

Failing that, check out the "scrollIntoView" method. It might only be available to IE, but if all else fails, that's still 90% of most browser users.


Hope this helps,
Dan
 
BillyRayPreachersSon

Thanks! That’s exactly what I needed (scrollintoview)! Thanks for replying that answer out there. Now, Here's your STAR! Thanks again.

Mike Cormier
May God bless everything you do...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top