PDA

View Full Version : Up Arrow


fahl
08-30-2007, 03:13 PM
Is there any way to place an UP arrow or similar at bottom of pages,

72dpi
08-31-2007, 12:23 AM
Hi fahl,

Yup, at the top of your page, add a "a href", like:

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

Then, wherever you want your "top" arrow, place:


<script type="text/javascript" language="JavaScript">
<!--
document.write ('<a href="'+location.href+'#top" title="Jump to page top" class="footer">Page Top <img src="skins/yourskin/images/arrow-up.gif" alt="Go To Page Top" width="16" height="12" border="0" /></a>')
-->
</script>Please change the details in the link.
this was lovingly fixed by XhUnTeR.

I used to use: <a href="#top">Top</a>, but that would skip back to the front page.

Hope that helps =)

<-- Note, I deleted your other thread. Duplicate threads on the same subject are not needed. Cheers.

fahl
08-31-2007, 03:24 PM
Thanx m8,Works fine,Unfortunately does not solve my problem which obviously cant be resolved like this.

72dpi
09-01-2007, 01:24 AM
What problem fahl?
I showed you to exactly what you asked. =)

Can you be more specific?