View Full Version : JAVASCRIPT NEEDED!
i need the script where your at the bottom of a page and it to long to go up so you click on something which all site write go up?
if you don't know what am on about o wells xD
+REP for anyone that helps
Moved by opensourcehost (Forum Moderator) from Web Designing: Please post in the correct forum next time, thanks :).
Mentor
01-07-2007, 12:20 AM
You mean a link u click and it scrolls you back to the top? well although that can be done with Js, you dont actuly need it. Just link to #
<a href="#">scroll to top</a>
or if you have an ancer somehwere in the page and want to scroll to that <a href="#ankername">scroll to section/a>
*your post was very confusing so im not sure i got what you ment*
sorry about that ><" BUT HEYY! you done it :D thanks u so much +REP
Decode
01-07-2007, 11:07 AM
or you could use a button
<FORM METHOD="LINK" ACTION="#">
<INPUT TYPE="submit" VALUE="Top Of Page">
</FORM>
Or a styled button!
<FORM METHOD="LINK" ACTION="#">
<INPUT TYPE="submit" VALUE="Top Of Page" STYLE="background: #ffffff; font-family: arial; font-size: 12px; border: 1px solid #000;">
</FORM>
:)
Want to hide these adverts? Register an account for free!
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.