Permalink
Browse files

Provided support for jquery-ui 1.8 and jquery 1.4.2. No longer backwa…

…rds compatible with jquery-ui 1.7.

Fixed a daylight savings bug.

Added ability to dynamically update calendar options
  • Loading branch information...
1 parent 0b07ad9 commit 88f98e002a63d2dac51bb771519956615254e5a8 @robmonie robmonie committed Mar 3, 2010
Showing with 55 additions and 16 deletions.
  1. +18 −5 weekcalendar.html
  2. +18 −5 weekcalendar_demo_2.html
  3. +19 −6 weekcalendar_json.html
View
@@ -34,12 +34,25 @@
}
</style>
-<link rel='stylesheet' type='text/css' href='http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/themes/smoothness/jquery-ui.css' />
-<link rel='stylesheet' type='text/css' href='jquery.weekcalendar.css' />
+ <link rel='stylesheet' type='text/css' href='reset.css' />
+ <!--
+ <link rel='stylesheet' type='text/css' href='http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/themes/start/jquery-ui.css' />
+ -->
-<script type='text/javascript' src='http://ajax.googleapis.com/ajax/libs/jquery/1.4.1/jquery.min.js'></script>
-<script type='text/javascript' src='http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/jquery-ui.min.js'></script>
-<script type='text/javascript' src='jquery.weekcalendar.js'></script>
+ <link rel='stylesheet' type='text/css' href='libs/css/smoothness/jquery-ui-1.8rc3.custom.css' />
+
+
+ <link rel='stylesheet' type='text/css' href='jquery.weekcalendar.css' />
+ <link rel='stylesheet' type='text/css' href='demo.css' />
+
+
+ <script type='text/javascript' src='http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js'></script>
+ <!--
+ <script type='text/javascript' src='http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/jquery-ui.min.js'></script>
+ -->
+
+ <script type='text/javascript' src='libs/jquery-ui-1.8rc3.custom.min.js'></script>
+ <script type='text/javascript' src='jquery.weekcalendar.js'></script>
<script type='text/javascript'>
View
@@ -46,12 +46,25 @@
</style>
-<link rel='stylesheet' type='text/css' href='http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/themes/smoothness/jquery-ui.css' />
-<link rel='stylesheet' type='text/css' href='jquery.weekcalendar.css' />
+ <link rel='stylesheet' type='text/css' href='reset.css' />
+ <!--
+ <link rel='stylesheet' type='text/css' href='http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/themes/start/jquery-ui.css' />
+ -->
-<script type='text/javascript' src='http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js'></script>
-<script type='text/javascript' src='http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/jquery-ui.min.js'></script>
-<script type='text/javascript' src='jquery.weekcalendar.js'></script>
+ <link rel='stylesheet' type='text/css' href='../libs/css/smoothness/jquery-ui-1.8rc3.custom.css' />
+
+
+ <link rel='stylesheet' type='text/css' href='jquery.weekcalendar.css' />
+ <link rel='stylesheet' type='text/css' href='demo.css' />
+
+
+ <script type='text/javascript' src='http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js'></script>
+ <!--
+ <script type='text/javascript' src='http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/jquery-ui.min.js'></script>
+ -->
+
+ <script type='text/javascript' src='libs/jquery-ui-1.8rc3.custom.min.js'></script>
+ <script type='text/javascript' src='jquery.weekcalendar.js'></script>
<script type='text/javascript'>
View
@@ -34,13 +34,26 @@
}
</style>
-<link rel='stylesheet' type='text/css' href='http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/themes/smoothness/jquery-ui.css' />
-<link rel='stylesheet' type='text/css' href='jquery.weekcalendar.css' />
+ <link rel='stylesheet' type='text/css' href='reset.css' />
+ <!--
+ <link rel='stylesheet' type='text/css' href='http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/themes/start/jquery-ui.css' />
+ -->
-<script type='text/javascript' src='http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js'></script>
-<script type='text/javascript' src='http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/jquery-ui.min.js'></script>
-<script type='text/javascript' src='jquery.weekcalendar.js'></script>
-<script type='text/javascript'>
+ <link rel='stylesheet' type='text/css' href='libs/css/smoothness/jquery-ui-1.8rc3.custom.css' />
+
+
+ <link rel='stylesheet' type='text/css' href='jquery.weekcalendar.css' />
+ <link rel='stylesheet' type='text/css' href='demo.css' />
+
+
+ <script type='text/javascript' src='http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js'></script>
+ <!--
+ <script type='text/javascript' src='http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/jquery-ui.min.js'></script>
+ -->
+
+ <script type='text/javascript' src='libs/jquery-ui-1.8rc3.custom.min.js'></script>
+ <script type='text/javascript' src='jquery.weekcalendar.js'></script>
+ <script type='text/javascript'>
var year = new Date().getFullYear();

0 comments on commit 88f98e0

Please sign in to comment.