...

View Full Version : Auto scroll And Vertical Nav's



leon2lil
10-28-2007, 02:42 PM
Hi,
I'm fairly new to html and css,
My question is how do you make a page auto scroll.
For instance when you click on a link in a thread and it takes you to the part where the item is located on the page.

Also can any tell me where to find a good vertical navigation tutorial with fly out links please.

Thank you for your help.

Dat
10-28-2007, 05:05 PM
Set a div's id
Then set a link to that id



<div id="content"></div>


<a href="#content">Go to content</a>

For more information: http://www.codingforums.com/showthread.php?p=181842#post181842

jlhaslip
10-28-2007, 05:18 PM
For the 'auto-scroll' feature, you need to create a named anchor on the page where you want the link to go to and then the link you click needs to have that named anchor as its href=.

http://jlhaslip.com//samples/misc/footer_link.html

you may need to 'shorten' the window to use the sample page properly.
Check the source to see what is needed.

leon2lil
10-28-2007, 05:46 PM
Thanks for the help guys



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum