| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| DesignersTalk > Maintain scrolling position thru pages. . . |
|
LinkBack | Thread Tools | Search this Thread |
|
|
#1 (permalink) |
|
Refrigerated User
Join Date: Mar 2006
Location: Central US
Posts: 161
|
I'm after a way to maintain scrolled vertical position on a page even after clicking a link. For example, on this site there's a list of links, when I click one I don't want to be sent to the top of the next page when it loads, if I'm scrolled 600px down when I hit that link, I want to already be scrolled 600px down when the next page loads. Is there a way to do this? It's like links that take you to header tags on a page - that changes your vertical scroll does it not? If I can't get a method for this type of function then I'll settle for a kick to the shins. |
|
|
|
|
|
#2 (permalink) |
|
Moderator
Join Date: Jan 2005
Location: Brooklyn, NYC
Posts: 11,869
|
The only way you can alter how far down a page scrolls is linking to IDs or named anchors. i.e. <a href="somepage.html#somelocation">Clicky</a> And on somepage.html: <something id="somelocation"> OR <a name="somelocation"></a> Find good advice in the beginners web design thread.
patrick o'neill web developer | blog | spam humor |
|
|
|
#4 (permalink) |
|
Moderator
Join Date: Jan 2005
Location: Brooklyn, NYC
Posts: 11,869
|
Yes. That functionality is intended so that you can link to specific content sections (has nothing to do with scrolling - that just happens to be the UI feature that browsers use). Sounds like you've got some terrible usability/accessibility ideas brewing... Find good advice in the beginners web design thread.
patrick o'neill web developer | blog | spam humor |
|
![]() |