Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

JavaScript Forum


You are currently viewing our JavaScript Forum as a guest. Please register to participate.
Login



Reply
Old 01-12-2006, 09:30 AM bakwards script
Novice Talker

Posts: 11
Trades: 0
Hi,

Does some one know how to make a script that go backwards in the history but that stay in the site? (example: some one search for your site in google, you click to “back” and it goes back to the main index of your site)

Backwards javascript:
function retroceder1() {window.onmousedown = history.go(-1);}


I guess it’s wit “if” or something, but I’m having problems making it.



thnx

Last edited by eSeTe; 01-12-2006 at 09:35 AM..
eSeTe is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 01-12-2006, 06:16 PM
Experienced Talker

Posts: 43
Trades: 0
Not possible, AFAIK.
However, you can use a cookie or a session var to store the previous URL.
__________________

Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE
Serious is offline
Reply With Quote
View Public Profile Visit Serious's homepage!
 
Reply     « Reply to bakwards script
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.60559 seconds with 12 queries