Welcome to WebmasterWorld Guest from

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)

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)

WebmasterWorld Senior Member 10+ Year Member

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


12:25 am on Jan 23, 2012 (gmt 0)

This list is a scrollable div.

Featured Threads

Hot Threads This Week

Hot Threads This Month