Main
Home
Contact Staff
Request
Graphics Directory

Site
Updates Archive
Previous Requests
History
FAQ
Terms
Previous Layouts
Staff
Affiliates
Credits
Link Back

Graphics
Avatars
Banners
MS Paint
Posters
Textures
Transparencies
Wallpapers
Miscellaneous

Drifting Designs Tutorials > > Coding > > HTML > > Back Code







Back Code


This tutorial will teach you how to create a "Back to Previous Page" button, such as the one below.

Back


Here's the code -

<a href="#" onclick="history.go(-1);return false;">Back</a>


Here's an interesting note: Where it says "(-1)" you can change it to (-2) if you want to send your visitor back two pages. Or, by changing it to "(-3)", you send your visitor back three pages, and so forth.
Layouts
Div Layouts
Frames Layouts
Pop-Up Layouts
Table Layouts

Neopets
Shop Signs
Guild Layouts
Full Page Layouts
Miscellanous

Tutorials
Coding
Graphics
Other

Hosted
Hosted by: