Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

added history lab shell

  • Loading branch information...
commit f339269b139fe94d30e57965a968704fa13bcc22 1 parent a967f57
@ntschutta authored
Showing with 24 additions and 0 deletions.
  1. +24 −0 labs/history.html
View
24 labs/history.html
@@ -0,0 +1,24 @@
+<!DOCTYPE HTML>
+<html>
+<head>
+ <title>HTML5 History</title>
+ <script src="../javascript/modernizr-2.0.6.js"></script>
+ <script src="../javascript/jquery-1.8.2.js"></script>
+ <script>
+
+ </script>
+</head>
+<body>
+<h1>HTML5 History</h1>
+<input type="button" id="dummy1" onclick="push('page 1', 'foo.html')" value="Push 1"/>
+<input type="button" id="dummy2" onclick="push('page2', 'bar.html')" value="Push 2"/>
+<input type="button" id="dummy3" onclick="push('page2', 'foobar.html')" value="Push 3"/>
+
+<p>
+There are <span id="historyLength"></span> item(s) in the history stack.
+<p>
+<input type="button" id="forward" onclick="forward()" value="Forward"/>
+<input type="button" id="back" onclick="back()" value="Back" />
+<input type="button" id="length" onclick="length()" value="Show History Length"/>
+</body>
+</html>
Please sign in to comment.
Something went wrong with that request. Please try again.