Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 44 lines (44 sloc) 1.354 kb
4683e5f @ded boosh!
authored
1 <!DOCTYPE HTML>
2 <html lang="en-us">
3 <head>
4 <meta http-equiv="Content-type" content="text/html; charset=utf-8">
5 <title>CalEnder Demo</title>
6 <style type="text/css" media="screen">
7 body {
8 width: 600px;
9 margin: 0 auto;
10 }
11 h1 {
12 font: 100 46px/1.4 "lucida grande", lucida;
13 color: #555;
14 }
15 input {
16 font: 36px lucida grande, lucida, helvetica, arial;
17 padding: 10px;
18 border: 1px solid #999;
19 }
20 </style>
21 <link rel="stylesheet" href="./calender.css" type="text/css">
22 <script src="http://ender-js.s3.amazonaws.com/jeesh.min.js"></script>
27884eb @icoloma Added internationalized months, week days and formatted date
icoloma authored
23 <script src="./calender.js"></script>
4683e5f @ded boosh!
authored
24 <script>
25 $(document).ready(function () {
b2814dc @ded - merge and remove semi colons
authored
26 $('#some_date').calender()
27884eb @icoloma Added internationalized months, week days and formatted date
icoloma authored
27 $('#i18n_date').calender({
28 months: 'Enero Febrero Marzo Abril Mayo Junio Julio Agosto Septiembre Octubre Noviembre Diciembre',
29 daysOfWeek: 'D L M X J V S',
b2814dc @ded - merge and remove semi colons
authored
30 formatDate: function(year, month, day) {
f5b8034 @ded minor bugs fixed with css
authored
31 return [day, month, year].join('/')
a43e996 @icoloma Added a week start attribute (default 0, sunday). Spanish calendars star...
icoloma authored
32 },
33 weekStart: 1
b2814dc @ded - merge and remove semi colons
authored
34 })
4683e5f @ded boosh!
authored
35 })
36 </script>
37 </head>
38 <body>
39 <h1>pick a date</h1>
40 <p><input type="text" name="some_date" value="" id="some_date"></p>
27884eb @icoloma Added internationalized months, week days and formatted date
icoloma authored
41 <h1>i18n'ed date</h1>
42 <p><input type="text" name="some_date" value="" id="i18n_date"></p>
4683e5f @ded boosh!
authored
43 </body>
44 </html>
Something went wrong with that request. Please try again.