Permalink
Browse files

updated demos to use ui 1.8.11

1 parent f1dedf8 commit 254ac812bfe8d2fcfd5d036947c9b0348fd75d5a @themouette committed Apr 21, 2011
View
4 full_demo/weekcalendar_full_demo.html
@@ -7,7 +7,7 @@
<link rel='stylesheet' type='text/css' href='http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.9/themes/base/jquery-ui.css' />
-->
- <link rel='stylesheet' type='text/css' href='../libs/css/smoothness/jquery-ui-1.8.9.custom.css' />
+ <link rel='stylesheet' type='text/css' href='../libs/css/smoothness/jquery-ui-1.8.11.custom.css' />
<link rel='stylesheet' type='text/css' href='../jquery.weekcalendar.css' />
@@ -22,7 +22,7 @@
-->
<script type='text/javascript' src='../libs/jquery-1.4.4.min.js'></script>
- <script type='text/javascript' src='../libs/jquery-ui-1.8.9.custom.min.js'></script>
+ <script type='text/javascript' src='../libs/jquery-ui-1.8.11.custom.min.js'></script>
<script type="text/javascript" src="http://jqueryui.com/themeroller/themeswitchertool/"></script>
<script>
$(document).ready(function(){
View
4 weekcalendar.html
@@ -38,7 +38,7 @@
<link rel='stylesheet' type='text/css' href='http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.9/themes/base/jquery-ui.css' />
-->
- <link rel='stylesheet' type='text/css' href='libs/css/smoothness/jquery-ui-1.8.9.custom.css' />
+ <link rel='stylesheet' type='text/css' href='libs/css/smoothness/jquery-ui-1.8.11.custom.css' />
<link rel='stylesheet' type='text/css' href='jquery.weekcalendar.css' />
@@ -50,7 +50,7 @@
-->
<script type='text/javascript' src='libs/jquery-1.4.4.min.js'></script>
- <script type='text/javascript' src='libs/jquery-ui-1.8.9.custom.min.js'></script>
+ <script type='text/javascript' src='libs/jquery-ui-1.8.11.custom.min.js'></script>
<script type="text/javascript" src="libs/date.js"></script>
<script type='text/javascript' src='jquery.weekcalendar.js'></script>
<script type='text/javascript'>
View
4 weekcalendar_demo_2.html
@@ -51,7 +51,7 @@
<link rel="stylesheet" type="text/css" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/smoothness/jquery-ui.css" />
-->
- <link rel='stylesheet' type='text/css' href='libs/css/smoothness/jquery-ui-1.8.9.custom.css' />
+ <link rel='stylesheet' type='text/css' href='libs/css/smoothness/jquery-ui-1.8.11.custom.css' />
<link rel='stylesheet' type='text/css' href='jquery.weekcalendar.css' />
@@ -64,7 +64,7 @@
-->
<script type='text/javascript' src='libs/jquery-1.4.4.min.js'></script>
- <script type='text/javascript' src='libs/jquery-ui-1.8.9.custom.min.js'></script>
+ <script type='text/javascript' src='libs/jquery-ui-1.8.11.custom.min.js'></script>
<script type="text/javascript" src="libs/date.js"></script>
<script type='text/javascript' src='jquery.weekcalendar.js'></script>
<script type='text/javascript'>
View
16 weekcalendar_demo_3.html
@@ -8,7 +8,7 @@
<link rel='stylesheet' type='text/css' href='http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.9/themes/base/jquery-ui.css' />
-->
- <link rel='stylesheet' type='text/css' href='libs/css/smoothness/jquery-ui-1.8.9.custom.css' />
+ <link rel='stylesheet' type='text/css' href='libs/css/smoothness/jquery-ui-1.8.11.custom.css' />
<link rel="stylesheet" type="text/css" href="jquery.weekcalendar.css" />
<link rel="stylesheet" type="text/css" href="skins/default.css" />
@@ -62,11 +62,13 @@
-->
<script type='text/javascript' src='libs/jquery-1.4.4.min.js'></script>
- <script type='text/javascript' src='libs/jquery-ui-1.8.9.custom.min.js'></script>
+ <script type='text/javascript' src='libs/jquery-ui-1.8.11.custom.min.js'></script>
+ <script type='text/javascript' src='libs/jquery-ui-i18n.js'></script>
<script type="text/javascript" src="libs/date.js"></script>
<script type="text/javascript" src="jquery.weekcalendar.js"></script>
<script type="text/javascript">
+ (function($) {
var d = new Date();
d.setDate(d.getDate() - d.getDay());
var year = d.getFullYear();
@@ -189,7 +191,14 @@
daysToShow: 7,
switchDisplay: {'1 day': 1, '3 next days': 3, 'work week': 5, 'full week': 7},
headerSeparator: ' ',
- useShortDayNames: true
+ useShortDayNames: true,
+ // I18N
+ firstDayOfWeek: $.datepicker.regional['fr'].firstDay,
+ shortDays: $.datepicker.regional['fr'].dayNamesShort,
+ longDays: $.datepicker.regional['fr'].dayNames,
+ shortMonths: $.datepicker.regional['fr'].monthNamesShort,
+ longMonths: $.datepicker.regional['fr'].monthNames,
+ dateFormat: "d F y"
});
$('#data_source').change(function() {
@@ -199,6 +208,7 @@
updateMessage();
});
+ })(jQuery);
</script>
</head>
<body>
View
4 weekcalendar_dst.html
@@ -25,7 +25,7 @@
<link rel='stylesheet' type='text/css' href='http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.9/themes/base/jquery-ui.css' />
-->
- <link rel='stylesheet' type='text/css' href='libs/css/smoothness/jquery-ui-1.8.9.custom.css' />
+ <link rel='stylesheet' type='text/css' href='libs/css/smoothness/jquery-ui-1.8.11.custom.css' />
<link rel='stylesheet' type='text/css' href='jquery.weekcalendar.css' />
@@ -37,7 +37,7 @@
-->
<script type='text/javascript' src='libs/jquery-1.4.4.min.js'></script>
- <script type='text/javascript' src='libs/jquery-ui-1.8.9.custom.min.js'></script>
+ <script type='text/javascript' src='libs/jquery-ui-1.8.11.custom.min.js'></script>
<script type='text/javascript' src='libs/date.js'></script>
<script type='text/javascript' src='jquery.weekcalendar.js'></script>
<script type='text/javascript'>
View
4 weekcalendar_json.html
@@ -36,7 +36,7 @@
<link rel='stylesheet' type='text/css' href='http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.9/themes/base/jquery-ui.css' />
-->
- <link rel='stylesheet' type='text/css' href='libs/css/smoothness/jquery-ui-1.8.9.custom.css' />
+ <link rel='stylesheet' type='text/css' href='libs/css/smoothness/jquery-ui-1.8.11.custom.css' />
<link rel='stylesheet' type='text/css' href='jquery.weekcalendar.css' />
@@ -48,7 +48,7 @@
-->
<script type='text/javascript' src='libs/jquery-1.4.4.min.js'></script>
- <script type='text/javascript' src='libs/jquery-ui-1.8.9.custom.min.js'></script>
+ <script type='text/javascript' src='libs/jquery-ui-1.8.11.custom.min.js'></script>
<script type='text/javascript' src='libs/date.js'></script>
<script type='text/javascript' src='jquery.weekcalendar.js'></script>
<script type='text/javascript'>

0 comments on commit 254ac81

Please sign in to comment.