Contractor Talk - Construction and Remodeling Site
CLICK HERE AND JOIN OUR COMMUNITY TODAY...IT'S FREE!
Go Back   Contractor Talk - Professional Construction and Remodeling Forum > Business Discussion > Technology

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 06-26-2006, 11:12 PM   #1
Chief Toilet Mover
 
Mike Finley's Avatar
Trade: Bathroom Remodeling
 
Join Date: Apr 2004
Location: Littleton, Colorado
Posts: 12,370
back button javascript code

Anybody know the javascript coding for a back button that takes you back to the previous page you were viewing no matter what it was?

I used to have this code and need it again, but can't see to find it.

It had something to do with history -1 or something like that using the browsers memory cache.

__________________
bathroom remodeling - Denver, Lakewood, Littleton, Arvada, Westminster, Centennial, Highlands Ranch, Lone Tree, Englewood Colorado.
Quote:
Originally Posted by Ahren View Post
Citibank BK Jan 2010, Dow 3000 Q1 2010,FAZ is about to go through the roof, stagflation, hyper-inflation, Jan 2010 $2.00 C puts
Mike Finley is offline   Reply With Quote
Warning: The topics covered on this site include activities in which there exists the potential for serious injury or death. ContractorTalk.com DOES NOT guarantee the accuracy or completeness of any information contained on this site. Always use proper safety precaution and reference reliable outside sources before attempting any construction or remodeling task!

Join Contractor Talk

Join the #1 Contractor Forum Today - It's Totally Free!

ContractorTalk.com - Are you a Professional Contractor? If so we invite you to join our community and see what it has to offer. Our site is specifically designed for you and it's the leading place for contractors to meet online. No homeowners asking DIY questions. Just fellow tradesmen who enjoy talking about their business, their trade, and anything else that comes up. No matter what your trade is you'll find that ContractorTalk.com is a great community to join. Best of all it's totally free!

Join ContractorTalk.com - Click Here JOIN FOR FREE

Old 06-27-2006, 12:31 AM   #2
Pro
 
mickeyco's Avatar
Trade: Squirrel Handler
 
Join Date: May 2006
Location: Chicago
Posts: 3,438
There's a hundred ways to do it, here are a few:

1.
<a href="javascript:history.go(-1)" onMouseOver="self.status=document.referrer;return true">Go Back</a>


2.
<input name="btnBack" title="back"
onMouseOver="window.status='Previous Page'; return true"
onMouseOut="window.status=''; return true"
onclick="location.href = 'javascript:history.go(-1)'" ; type="button"
value="Previous Page">


3.
<form>
<input type=button value="Back"
onCLick="history.back()">
</form>



4.
<INPUT TYPE="button" VALUE="Back" onClick="history.go(-1);">
mickeyco is offline   Reply With Quote
Old 06-27-2006, 11:43 AM   #3
Registered User
Trade: Engineer Training
 
Join Date: Jun 2006
Posts: 7
for java script codes I goto google and type in java script source and it should be the top link.

They have a huge database of javascript but there site is a bit messy
Enka is offline   Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
connections to the back of a switch 72chevy4x4 Electrical 50 11-17-2006 08:12 PM
Gettin back in the seat this weekend:) IHI Off Topic (Non Trade) 8 08-01-2006 10:29 AM
Exterior hard drive for back up. Mike Finley Technology 5 07-24-2006 04:51 AM


Top of Page | View New Posts


All times are GMT -5. The time now is 07:30 PM.


Contractor Talk™ © 2003 - 2009 The Building Network LLC