1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-07-17 15:14:35 -04:00
elinks/test/ecmascript/history.html
Petr Baudis 0f6d4310ad Initial commit of the HEAD branch of the ELinks CVS repository, as of
Thu Sep 15 15:57:07 CEST 2005. The previous history can be added to this
by grafting.
2005-09-15 15:58:31 +02:00

33 lines
790 B
HTML

<html>
<title>JavaScript History tests</title>
<body>
History go<br>
<a href="javascript:history.go(-1)">go(-1)</a><br>
<a href="javascript:history.go(1)">go(1)</a><br>
<a href="javascript:history.go(0)">go(0)</a><br>
<hr>
History forward and back<br>
<a href="javascript:history.back()">back</a><br>
<a href="javascript:history.forward()">forward</a><br>
<hr>
buttons + history go<br>
<form>
<input type="button" value="go(-1)" onClick="history.go(-1)">
<input type="button" value="go(1)" onClick="history.go(1)">
<input type="button" value="go(0)" onClick="history.go(0)">
</form>
<hr>
buttons + history forward and back<br>
<form>
<input type="button" value="back" onClick="history.back()">
<input type="button" value="forward" onCLick="history.forward()">
</form>
</body>
</html>