...

View Full Version : hyperlinks



the kilted scot
06-22-2002, 10:40 PM
hey guys,

How do i set a up hyperlinks in javascript, not just to a page but to a specific point within a page.

Thanks folks..

G

TrueLies
06-22-2002, 11:10 PM
Hi

the safer way is still to put an anchor just at the point you want to intercept, by html:

<body bla bla...>

here is my point <a name="foo"> bla bla</a> that's an anchor: a with a name, no source property

then the javaScript instruction might be:

location="#foo";

note the #

ciao



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum