Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Automatic Scroll 1

Status
Not open for further replies.

vb6novice

Programmer
Sep 23, 2002
288
US
How do you make an HTML page automatically scroll to a particular spot when called from another page. For example, several links to news items on a home page all go to the same news page. How do I make the news page automatically position to the place where the particular news item is on the page.

I'll appreciate any help.
 
use anchors....

in the spot where you want the page to go add:

<a name="anchorname"></a>

in the link add:

page.html#anchorname

[conehead]
 
Thanks Conehead. I figured it would be simple. I guess I should have paid more attention in class then I would have understood what all those <a>'s all over my HTML were for.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top