Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
HTML back option
Message
 
À
19/07/2008 20:55:51
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
Information générale
Forum:
Windows
Catégorie:
Informatique en général
Divers
Thread ID:
01330549
Message ID:
01332593
Vues:
9
Some users block javascript, so you might want something even more generic try something like this in the click event of your button, etc. onClick= "window.history.back()"

JH


>>Hi,
>>Maybe:
<a href="javascript: history.go(-1)">Back</a>
>>>Can someone tell me the generic command to go "back" in an HTML document? The idea is that the user presses a link that says something like "go back", but the browser reacts as if the user pressed the generic (browser) "back" button. I am not sure whether this requires JavaScript, or what, but I think I have seen something similar.
>>>
>>>TIA,
>>>
>>>Hilmar.
>
>Great! I thought I had seen this somewhere, but I couldn't remember.
>
>Thus, I can use the same generic command in several places. Also, and the main reason I wanted this, is that I can have links from A--->C and from B--->C; if the user takes the first route, the "back" option should return to A, in the other case, to B. This isn't possible with hard-coded links like a href="document_A.html".
John Harvey
Shelbynet.com

"I'm addicted to placebos. I could quit, but it wouldn't matter." Stephen Wright
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform