Click to See Complete Forum and Search --> : back to past page


roby
12-19-2002, 04:51 PM
hi,

how can i back to past page


roby

khalidali63
12-19-2002, 04:57 PM
Look into window.history object...

Khalid

roby
12-19-2002, 05:02 PM
hi, khalid



where is it (in the website or book or what)


roby

khalidali63
12-19-2002, 05:10 PM
book mark this site for further references.

http://www.mozilla.org/docs/dom/domref/dom_window_ref25.html

Khalid

pyro
12-19-2002, 06:20 PM
<a href="#" onClick="history.go(-1)">Back</a> will back you up one page.

roby
12-21-2002, 05:07 PM
hi, pyro

thank you vary much


roby

Charles
12-21-2002, 05:17 PM
Originally posted by pyro
<a href="#" onClick="history.go(-1)">Back</a> will back you up one page. About 12% of the time it won't do a thing. To avoid an embarrassing link to nowhere use:

<script type="text/javascript">
<!--
document.write('<a href="#">Get Back, Jo Jo</a>');
document.links[document.links.length-1].onclick = function () {history.back(); return false};
// -->
</script>

David Harrison
12-22-2002, 10:02 AM
Very simple:

<a href="javascript:history.back()">Back</a>

Charles
12-22-2002, 12:42 PM
Originally posted by lavalamp
Very simple:

<a href="javascript:history.back()">Back</a> About 12% of the time it won't do a thing. To avoid an embarrassing link to nowhere use:

<script type="text/javascript">
<!--
document.write('<a href="#">Get Back, Jo Jo</a>');
document.links[document.links.length-1].onclick = function () {history.back(); return false};
// -->
</script>

aepstar
12-22-2002, 12:52 PM
Originally posted by lavalamp
About 12% of the time it won't do a thing. To avoid an embarrassing link to nowhere use:


how the phuq do u know? ur kinda phreak who sits and counts every time links as ded or wot?