|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
How does the BACK function of the browser work ? Does it work based on the browser's history list?
Is there any way of changing the way it works ? |
|
#2
|
|||
|
|||
|
No, but what do you want it to do?
adam |
|
#3
|
|||
|
|||
|
I've got a question on the topic. I'm trying to put a button on a web page that has the same function as the back button in my browser. is it possible?
|
|
#4
|
|||
|
|||
|
The back button works off the browser history list. Yes you can manipulate the previous current URL in history. If you wished to remove the current URL from the history when you go to the next page you could use a replace method:
<a href="javascript:window.location.replace('nextpage.html');">Next Page</a> This would remove the current URL from history and replace it with the 'nextpage.html'. To mimic the browser back button you can do this: <form> <input type="button" value="Go back" onClick="window.history.go(-1);"> </form> Spookster ------------------ Visit the WSAbstract Help Forum for your Javascript, DHTML, or General Web Design Questions |
|
#5
|
|||
|
|||
|
Here. All you have to do is create a link like this.
<a href="javascript:window.history.go(-1);">Back</a> Hope that helps. ------------------ ================ -Khill, www.tsrealm.com |
|
#6
|
|||
|
|||
|
I was wondering if it is possible for an external application to listen to the "Back" button on a browser. I'm working on an application that needs to know in what order a person looks through sites. We can tell when a person loads a new site, but not when they click the "Back" button and go to a site that has been cached. Any help would be greatly appreciated thanks.
|
|
#7
|
|||
|
|||
|
So why not use an uncacheable image? Just like most of those page-counters, the image (whether served staticly or through cgi) is set to be uncacheable, and so the browser should check each time to see if there is a newer version available.
------------------ WEB CACHING RESOURCES: http://www.web-caching.com/ |
![]() |
| Viewing: Dev Shed Forums > Web Design > HTML Programming > BACK button if browsers |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|