Click to See Complete Forum and Search --> : Need something.


stormrevolution
05-19-2003, 03:53 PM
Hey everyone! sorry but i have another problem.

just wondering if there is away to make a "go to top of page" button using a form button, i had a javascript one b4 but i cannot style it the style of the other buttons on my page.

cheers all for your help now and before, your great guys!:D

Nevermore
05-19-2003, 03:58 PM
You know you can jump about a page using named anchors (<a name="hi">Hi</a>) and links to them (<a href="#hi">Go to 'hi'</a>.

Why not just enclose your button in the go to anchor?

stormrevolution
05-19-2003, 04:08 PM
OK.

But how woul di get that to go to the top of the page?

IxxI
05-19-2003, 04:29 PM
if at the top of your page you insert a link saying:

<a name="top"></a>

Then where you want to put a link to the top of the page put in a link saying:

<a href="#top">Go to the Top</a>

then clicking on that link will take you to the top of the page...

IxxI

Nevermore
05-20-2003, 01:03 AM
What the code does is align the top of the browser with the location of the named anchor (if that makes any sense...).