homepage Welcome to WebmasterWorld Guest from 54.163.84.123
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
Forum Library, Charter, Moderator: open

JavaScript and AJAX Forum

    
automatically load page to an anchor
Can I autoload to an anchor on the same page?
daboucher



 
Msg#: 4409703 posted 11:29 pm on Jan 22, 2012 (gmt 0)

I'm not particularly skilled in HTML or Javascript but I have some working knowledge. I'm using Dreamweaver in a template-oriented web site (not live yet). Each page has a long list on the left column (part of the template) with hundreds of hyperlinks to other pages. Each page has unique content to the right of the left column. The reader uses the left column to navigate from one page to the next. Right now the page reverts to the top of the list every time a new page is accessed. The reader has to scroll through the list to find the spot where they left off. Right now I have a clickable button that navigates back to the appropriate named anchor on the left column. The body tag and head are already allocated in the template and cannot be changed. Is there a script I can use elsewhere in the HTML that can automatically load the page to a specific anchor on the left? This automatic loading need not happen instantly.

 

Dijkgraaf

WebmasterWorld Senior Member 5+ Year Member



 
Msg#: 4409703 posted 12:22 am on Jan 23, 2012 (gmt 0)

What is that long list in? An iframe, a scrollable div?

daboucher



 
Msg#: 4409703 posted 12:25 am on Jan 23, 2012 (gmt 0)

This list is a scrollable div.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved