Browse files

add an example file to demonstrate the '1 minute timeout' problem

  • Loading branch information...
1 parent 563feec commit f3e20d7a68079b10f1b0889d202269eb93baa2c8 @julienw julienw committed Nov 22, 2011
Showing with 25 additions and 0 deletions.
  1. +24 −0 examples/clock10.html
  2. +1 −0 examples/index.html
View
24 examples/clock10.html
@@ -0,0 +1,24 @@
+<html>
+<head>
+ <title>jclock - default 24-hour clock (localtime)</title>
+
+ <script type="text/javascript" src="jquery-1.3.1.min.js"></script>
+ <script type="text/javascript" src="jquery.jclock.js"></script>
+
+ <script type="text/javascript">
+ $(function($) {
+ $('.jclock').jclock({
+ timeout: 60000,
+ format: '%H:%M',
+ });
+ });
+ </script>
+
+</head>
+
+<body>
+
+<div class="jclock"></div>
+
+</body>
+</html>
View
1 examples/index.html
@@ -15,6 +15,7 @@
<li><a href="clock7.html">multiple clocks using different time zone offsets</a></li>
<li><a href="clock8.html">styled clocks (first clock uses jquery.corner.js)</a></li>
<li><a href="clock9.html">clock using seedTime</a></li>
+<li><a href="clock10.html">clock with only minutes</a></li>
</ul>
</body>
<html>

0 comments on commit f3e20d7

Please sign in to comment.