Welcome to WebmasterWorld Guest from 54.196.231.129

Forum Moderators: open

Message Too Old, No Replies

automatically load page to an anchor

Can I autoload to an anchor on the same page?

     
11:29 pm on Jan 22, 2012 (gmt 0)

New User

joined:Jan 22, 2012
posts: 2
votes: 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.
12:22 am on Jan 23, 2012 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:May 31, 2005
posts:1108
votes: 0


What is that long list in? An iframe, a scrollable div?
12:25 am on Jan 23, 2012 (gmt 0)

New User

joined:Jan 22, 2012
posts: 2
votes: 0


This list is a scrollable div.