t3cat5
08-18-2002, 02:04 PM
How can I create a target to make the js hyperlink link to the <A NAME=top></A> anchor.
So that when clicked it will scroll to the top of the page.
Display Function In External .js File:
function goPlus1()
{
eval("document.all.Page"+i+".style.display='none'");
i=(((i%nPages)+1)%nPages);
eval("document.all.Page"+i+".style.display=''");
}
Html Link:
<A HREF="javascript:goPlus1()" CLASS=clickable>2</A>
I hope somwone can help with this I tryed adding a target to the html link but it did not work. see website http://www.4gigs.com/~t3cat5 than select dynamic pages 2 for a example of where I did to do this.
So that when clicked it will scroll to the top of the page.
Display Function In External .js File:
function goPlus1()
{
eval("document.all.Page"+i+".style.display='none'");
i=(((i%nPages)+1)%nPages);
eval("document.all.Page"+i+".style.display=''");
}
Html Link:
<A HREF="javascript:goPlus1()" CLASS=clickable>2</A>
I hope somwone can help with this I tryed adding a target to the html link but it did not work. see website http://www.4gigs.com/~t3cat5 than select dynamic pages 2 for a example of where I did to do this.