mime-type and eol-style

This commit is contained in:
Richard Worth 2009-01-02 03:56:06 +00:00
parent d3bf099f61
commit ae2fa8cf16
5 changed files with 253 additions and 253 deletions

View File

@ -1,33 +1,33 @@
<!doctype html>
<html lang="en">
<head>
<title>jQuery UI Datepicker - Alternate Field</title>
<link type="text/css" href="../../themes/default/ui.all.css" rel="stylesheet" />
<script type="text/javascript" src="../../jquery-1.2.6.js"></script>
<script type="text/javascript" src="../../ui/ui.core.js"></script>
<script type="text/javascript" src="../../ui/ui.datepicker.js"></script>
<link type="text/css" href="../demos.css" rel="stylesheet" />
<script type="text/javascript">
$(function() {
$("#datepicker").datepicker({altField: '#alternate', altFormat: 'DD, d MM, yy'});
});
</script>
</head>
<body>
<div class="demo">
<p>Date: <input type="text" id="datepicker">&nbsp;<input type="text" id="alternate" size="30"/></p>
</div><!-- End demo -->
<div class="demo-description">
<p>The datepicker can populate an alternate field, with its own format, whenever a date is selected.
This feature might be used to present a human-friendly date for user selection,
while passing a more computer-friendly date through for further processing.</p>
</div><!-- End demo-description -->
</body>
</html>
<!doctype html>
<html lang="en">
<head>
<title>jQuery UI Datepicker - Alternate Field</title>
<link type="text/css" href="../../themes/default/ui.all.css" rel="stylesheet" />
<script type="text/javascript" src="../../jquery-1.2.6.js"></script>
<script type="text/javascript" src="../../ui/ui.core.js"></script>
<script type="text/javascript" src="../../ui/ui.datepicker.js"></script>
<link type="text/css" href="../demos.css" rel="stylesheet" />
<script type="text/javascript">
$(function() {
$("#datepicker").datepicker({altField: '#alternate', altFormat: 'DD, d MM, yy'});
});
</script>
</head>
<body>
<div class="demo">
<p>Date: <input type="text" id="datepicker">&nbsp;<input type="text" id="alternate" size="30"/></p>
</div><!-- End demo -->
<div class="demo-description">
<p>The datepicker can populate an alternate field, with its own format, whenever a date is selected.
This feature might be used to present a human-friendly date for user selection,
while passing a more computer-friendly date through for further processing.</p>
</div><!-- End demo-description -->
</body>
</html>

View File

@ -1,40 +1,40 @@
<!doctype html>
<html lang="en">
<head>
<title>jQuery UI Datepicker - Date Formats</title>
<link type="text/css" href="../../themes/default/ui.all.css" rel="stylesheet" />
<script type="text/javascript" src="../../jquery-1.2.6.js"></script>
<script type="text/javascript" src="../../ui/ui.core.js"></script>
<script type="text/javascript" src="../../ui/ui.datepicker.js"></script>
<link type="text/css" href="../demos.css" rel="stylesheet" />
<script type="text/javascript">
$(function() {
$("#datepicker").datepicker();
$("#format").change(function() { $('#datepicker').datepicker('option', {dateFormat: $(this).val()}); });
});
</script>
</head>
<body>
<div class="demo">
<p>Date: <input type="text" id="datepicker" size="30"/>&nbsp;
<select id="format">
<option value="mm/dd/yy">Default - mm/dd/yy</option>
<option value="yy-mm-dd">ISO 8601 - yy-mm-dd</option>
<option value="d M, y">Short - d M, yy</option>
<option value="d MM, y">Medium - d MM, yy</option>
<option value="DD, d MM, yy">Full - DD, d MM, yy</option>
<option value="'day' d 'of' MM 'in the year' yy">With text - 'day' d 'of' MM 'in the year' yy</option>
</select></p>
</div><!-- End demo -->
<div class="demo-description">
<p>The datepicker may present the selected date in a variety of formats.</p>
</div><!-- End demo-description -->
</body>
</html>
<!doctype html>
<html lang="en">
<head>
<title>jQuery UI Datepicker - Date Formats</title>
<link type="text/css" href="../../themes/default/ui.all.css" rel="stylesheet" />
<script type="text/javascript" src="../../jquery-1.2.6.js"></script>
<script type="text/javascript" src="../../ui/ui.core.js"></script>
<script type="text/javascript" src="../../ui/ui.datepicker.js"></script>
<link type="text/css" href="../demos.css" rel="stylesheet" />
<script type="text/javascript">
$(function() {
$("#datepicker").datepicker();
$("#format").change(function() { $('#datepicker').datepicker('option', {dateFormat: $(this).val()}); });
});
</script>
</head>
<body>
<div class="demo">
<p>Date: <input type="text" id="datepicker" size="30"/>&nbsp;
<select id="format">
<option value="mm/dd/yy">Default - mm/dd/yy</option>
<option value="yy-mm-dd">ISO 8601 - yy-mm-dd</option>
<option value="d M, y">Short - d M, yy</option>
<option value="d MM, y">Medium - d MM, yy</option>
<option value="DD, d MM, yy">Full - DD, d MM, yy</option>
<option value="'day' d 'of' MM 'in the year' yy">With text - 'day' d 'of' MM 'in the year' yy</option>
</select></p>
</div><!-- End demo -->
<div class="demo-description">
<p>The datepicker may present the selected date in a variety of formats.</p>
</div><!-- End demo-description -->
</body>
</html>

View File

@ -1,33 +1,33 @@
<!doctype html>
<html lang="en">
<head>
<title>jQuery UI Datepicker - Icon Trigger</title>
<link type="text/css" href="../../themes/default/ui.all.css" rel="stylesheet" />
<script type="text/javascript" src="../../jquery-1.2.6.js"></script>
<script type="text/javascript" src="../../ui/ui.core.js"></script>
<script type="text/javascript" src="../../ui/ui.datepicker.js"></script>
<link type="text/css" href="../demos.css" rel="stylesheet" />
<script type="text/javascript">
$(function() {
$("#datepicker").datepicker({showOn: 'button', buttonImage: '../images/calendar.gif', buttonImageOnly: true});
});
</script>
</head>
<body>
<div class="demo">
<p>Date: <input type="text" id="datepicker"></p>
</div><!-- End demo -->
<div class="demo-description">
<p>This datepicker is triggered by clicking on the icon following the field,
instead of the field gaining focus. You can also set the datepicker to
open in both cases.</p>
</div><!-- End demo-description -->
</body>
</html>
<!doctype html>
<html lang="en">
<head>
<title>jQuery UI Datepicker - Icon Trigger</title>
<link type="text/css" href="../../themes/default/ui.all.css" rel="stylesheet" />
<script type="text/javascript" src="../../jquery-1.2.6.js"></script>
<script type="text/javascript" src="../../ui/ui.core.js"></script>
<script type="text/javascript" src="../../ui/ui.datepicker.js"></script>
<link type="text/css" href="../demos.css" rel="stylesheet" />
<script type="text/javascript">
$(function() {
$("#datepicker").datepicker({showOn: 'button', buttonImage: '../images/calendar.gif', buttonImageOnly: true});
});
</script>
</head>
<body>
<div class="demo">
<p>Date: <input type="text" id="datepicker"></p>
</div><!-- End demo -->
<div class="demo-description">
<p>This datepicker is triggered by clicking on the icon following the field,
instead of the field gaining focus. You can also set the datepicker to
open in both cases.</p>
</div><!-- End demo-description -->
</body>
</html>

View File

@ -1,113 +1,113 @@
<!doctype html>
<html lang="en">
<head>
<title>jQuery UI Datepicker - Localisation</title>
<link type="text/css" href="../../themes/default/ui.all.css" rel="stylesheet" />
<script type="text/javascript" src="../../jquery-1.2.6.js"></script>
<script type="text/javascript" src="../../ui/ui.core.js"></script>
<script type="text/javascript" src="../../ui/ui.datepicker.js"></script>
<script type="text/javascript" src="../../ui/i18n/ui.datepicker-ar.js"></script>
<script type="text/javascript" src="../../ui/i18n/ui.datepicker-bg.js"></script>
<script type="text/javascript" src="../../ui/i18n/ui.datepicker-ca.js"></script>
<script type="text/javascript" src="../../ui/i18n/ui.datepicker-cs.js"></script>
<script type="text/javascript" src="../../ui/i18n/ui.datepicker-da.js"></script>
<script type="text/javascript" src="../../ui/i18n/ui.datepicker-de.js"></script>
<script type="text/javascript" src="../../ui/i18n/ui.datepicker-eo.js"></script>
<script type="text/javascript" src="../../ui/i18n/ui.datepicker-es.js"></script>
<script type="text/javascript" src="../../ui/i18n/ui.datepicker-fa.js"></script>
<script type="text/javascript" src="../../ui/i18n/ui.datepicker-fi.js"></script>
<script type="text/javascript" src="../../ui/i18n/ui.datepicker-fr.js"></script>
<script type="text/javascript" src="../../ui/i18n/ui.datepicker-he.js"></script>
<script type="text/javascript" src="../../ui/i18n/ui.datepicker-hr.js"></script>
<script type="text/javascript" src="../../ui/i18n/ui.datepicker-hu.js"></script>
<script type="text/javascript" src="../../ui/i18n/ui.datepicker-hy.js"></script>
<script type="text/javascript" src="../../ui/i18n/ui.datepicker-id.js"></script>
<script type="text/javascript" src="../../ui/i18n/ui.datepicker-is.js"></script>
<script type="text/javascript" src="../../ui/i18n/ui.datepicker-it.js"></script>
<script type="text/javascript" src="../../ui/i18n/ui.datepicker-ja.js"></script>
<script type="text/javascript" src="../../ui/i18n/ui.datepicker-ko.js"></script>
<script type="text/javascript" src="../../ui/i18n/ui.datepicker-lt.js"></script>
<script type="text/javascript" src="../../ui/i18n/ui.datepicker-lv.js"></script>
<script type="text/javascript" src="../../ui/i18n/ui.datepicker-nl.js"></script>
<script type="text/javascript" src="../../ui/i18n/ui.datepicker-no.js"></script>
<script type="text/javascript" src="../../ui/i18n/ui.datepicker-pl.js"></script>
<script type="text/javascript" src="../../ui/i18n/ui.datepicker-pt-BR.js"></script>
<script type="text/javascript" src="../../ui/i18n/ui.datepicker-ro.js"></script>
<script type="text/javascript" src="../../ui/i18n/ui.datepicker-ru.js"></script>
<script type="text/javascript" src="../../ui/i18n/ui.datepicker-sk.js"></script>
<script type="text/javascript" src="../../ui/i18n/ui.datepicker-sl.js"></script>
<script type="text/javascript" src="../../ui/i18n/ui.datepicker-sq.js"></script>
<script type="text/javascript" src="../../ui/i18n/ui.datepicker-sv.js"></script>
<script type="text/javascript" src="../../ui/i18n/ui.datepicker-th.js"></script>
<script type="text/javascript" src="../../ui/i18n/ui.datepicker-tr.js"></script>
<script type="text/javascript" src="../../ui/i18n/ui.datepicker-uk.js"></script>
<script type="text/javascript" src="../../ui/i18n/ui.datepicker-zh-CN.js"></script>
<script type="text/javascript" src="../../ui/i18n/ui.datepicker-zh-TW.js"></script>
<link type="text/css" href="../demos.css" rel="stylesheet" />
<script type="text/javascript">
$(function() {
$.datepicker.setDefaults($.extend({showMonthAfterYear: false}, $.datepicker.regional['']));
$("#datepicker").datepicker($.datepicker.regional['fr']);
$("#locale").change(function() {
$('#datepicker').datepicker('option', $.extend({showMonthAfterYear: false},
$.datepicker.regional[$(this).val()]));
});
});
</script>
</head>
<body>
<div class="demo">
<p>Date: <input type="text" id="datepicker"/>&nbsp;
<select id="locale">
<option value="sq">Albanian (Gjuha shqipe)</option>
<option value="ar">Arabic (&#8235;&#1604;&#1593;&#1585;&#1576;&#1610;)</option>
<option value="hy">Armenian (&#1344;&#1377;&#1397;&#1381;&#1408;&#1381;&#1398;)</option>
<option value="bg">Bulgarian (&#1073;&#1098;&#1083;&#1075;&#1072;&#1088;&#1089;&#1082;&#1080; &#1077;&#1079;&#1080;&#1082;)</option>
<option value="ca">Catalan (Català)</option>
<option value="zh-CN">Chinese Simplified (&#31616;&#20307;&#20013;&#25991;)</option>
<option value="zh-TW">Chinese Traditional (&#32321;&#39636;&#20013;&#25991;)</option>
<option value="hr">Croatian (Hrvatski jezik)</option>
<option value="cs">Czech (Ceština)</option>
<option value="da">Danish (Dansk)</option>
<option value="nl">Dutch (Nederlands)</option>
<option value="eo">Esperanto</option>
<option value="fa">Farsi/Persian (&#8235;&#1601;&#1575;&#1585;&#1587;&#1740;)</option>
<option value="fi">Finnish (suomi)</option>
<option value="fr" selected="selected">French (Français)</option>
<option value="de">German (Deutsch)</option>
<option value="he">Hebrew (&#8235;&#1506;&#1489;&#1512;&#1497;&#1514;)</option>
<option value="hu">Hungarian (Magyar)</option>
<option value="is">Icelandic (Íslenska)</option>
<option value="id">Indonesian (Bahasa Indonesia)</option>
<option value="it">Italian (Italiano)</option>
<option value="ja">Japanese (&#26085;&#26412;&#35486;)</option>
<option value="ko">Korean (&#54620;&#44397;&#50612;)</option>
<option value="lv">Latvian (Latviešu Valoda)</option>
<option value="lt">Lithuanian (lietuviu kalba)</option>
<option value="no">Norwegian (Norsk)</option>
<option value="pl">Polish (Polski)</option>
<option value="pt-BR">Portuguese/Brazilian (Português)</option>
<option value="ro">Romanian (Româna)</option>
<option value="ru">Russian (&#1056;&#1091;&#1089;&#1089;&#1082;&#1080;&#1081;)</option>
<option value="sk">Slovak (Slovencina)</option>
<option value="sl">Slovenian (Slovenski Jezik)</option>
<option value="es">Spanish (Español)</option>
<option value="sv">Swedish (Svenska)</option>
<option value="th">Thai (&#3616;&#3634;&#3625;&#3634;&#3652;&#3607;&#3618;)</option>
<option value="tr">Turkish (Türkçe)</option>
<option value="uk">Ukranian (&#1059;&#1082;&#1088;&#1072;&#1111;&#1085;&#1089;&#1100;&#1082;&#1072;)</option>
</select></p>
</div><!-- End demo -->
<div class="demo-description">
<p>The datepicker may be localised for other languages and date preferences.
There is built-in support for languages that read right-to-left, such as Arabic and Hebrew.</p>
</div><!-- End demo-description -->
</body>
</html>
<!doctype html>
<html lang="en">
<head>
<title>jQuery UI Datepicker - Localisation</title>
<link type="text/css" href="../../themes/default/ui.all.css" rel="stylesheet" />
<script type="text/javascript" src="../../jquery-1.2.6.js"></script>
<script type="text/javascript" src="../../ui/ui.core.js"></script>
<script type="text/javascript" src="../../ui/ui.datepicker.js"></script>
<script type="text/javascript" src="../../ui/i18n/ui.datepicker-ar.js"></script>
<script type="text/javascript" src="../../ui/i18n/ui.datepicker-bg.js"></script>
<script type="text/javascript" src="../../ui/i18n/ui.datepicker-ca.js"></script>
<script type="text/javascript" src="../../ui/i18n/ui.datepicker-cs.js"></script>
<script type="text/javascript" src="../../ui/i18n/ui.datepicker-da.js"></script>
<script type="text/javascript" src="../../ui/i18n/ui.datepicker-de.js"></script>
<script type="text/javascript" src="../../ui/i18n/ui.datepicker-eo.js"></script>
<script type="text/javascript" src="../../ui/i18n/ui.datepicker-es.js"></script>
<script type="text/javascript" src="../../ui/i18n/ui.datepicker-fa.js"></script>
<script type="text/javascript" src="../../ui/i18n/ui.datepicker-fi.js"></script>
<script type="text/javascript" src="../../ui/i18n/ui.datepicker-fr.js"></script>
<script type="text/javascript" src="../../ui/i18n/ui.datepicker-he.js"></script>
<script type="text/javascript" src="../../ui/i18n/ui.datepicker-hr.js"></script>
<script type="text/javascript" src="../../ui/i18n/ui.datepicker-hu.js"></script>
<script type="text/javascript" src="../../ui/i18n/ui.datepicker-hy.js"></script>
<script type="text/javascript" src="../../ui/i18n/ui.datepicker-id.js"></script>
<script type="text/javascript" src="../../ui/i18n/ui.datepicker-is.js"></script>
<script type="text/javascript" src="../../ui/i18n/ui.datepicker-it.js"></script>
<script type="text/javascript" src="../../ui/i18n/ui.datepicker-ja.js"></script>
<script type="text/javascript" src="../../ui/i18n/ui.datepicker-ko.js"></script>
<script type="text/javascript" src="../../ui/i18n/ui.datepicker-lt.js"></script>
<script type="text/javascript" src="../../ui/i18n/ui.datepicker-lv.js"></script>
<script type="text/javascript" src="../../ui/i18n/ui.datepicker-nl.js"></script>
<script type="text/javascript" src="../../ui/i18n/ui.datepicker-no.js"></script>
<script type="text/javascript" src="../../ui/i18n/ui.datepicker-pl.js"></script>
<script type="text/javascript" src="../../ui/i18n/ui.datepicker-pt-BR.js"></script>
<script type="text/javascript" src="../../ui/i18n/ui.datepicker-ro.js"></script>
<script type="text/javascript" src="../../ui/i18n/ui.datepicker-ru.js"></script>
<script type="text/javascript" src="../../ui/i18n/ui.datepicker-sk.js"></script>
<script type="text/javascript" src="../../ui/i18n/ui.datepicker-sl.js"></script>
<script type="text/javascript" src="../../ui/i18n/ui.datepicker-sq.js"></script>
<script type="text/javascript" src="../../ui/i18n/ui.datepicker-sv.js"></script>
<script type="text/javascript" src="../../ui/i18n/ui.datepicker-th.js"></script>
<script type="text/javascript" src="../../ui/i18n/ui.datepicker-tr.js"></script>
<script type="text/javascript" src="../../ui/i18n/ui.datepicker-uk.js"></script>
<script type="text/javascript" src="../../ui/i18n/ui.datepicker-zh-CN.js"></script>
<script type="text/javascript" src="../../ui/i18n/ui.datepicker-zh-TW.js"></script>
<link type="text/css" href="../demos.css" rel="stylesheet" />
<script type="text/javascript">
$(function() {
$.datepicker.setDefaults($.extend({showMonthAfterYear: false}, $.datepicker.regional['']));
$("#datepicker").datepicker($.datepicker.regional['fr']);
$("#locale").change(function() {
$('#datepicker').datepicker('option', $.extend({showMonthAfterYear: false},
$.datepicker.regional[$(this).val()]));
});
});
</script>
</head>
<body>
<div class="demo">
<p>Date: <input type="text" id="datepicker"/>&nbsp;
<select id="locale">
<option value="sq">Albanian (Gjuha shqipe)</option>
<option value="ar">Arabic (&#8235;&#1604;&#1593;&#1585;&#1576;&#1610;)</option>
<option value="hy">Armenian (&#1344;&#1377;&#1397;&#1381;&#1408;&#1381;&#1398;)</option>
<option value="bg">Bulgarian (&#1073;&#1098;&#1083;&#1075;&#1072;&#1088;&#1089;&#1082;&#1080; &#1077;&#1079;&#1080;&#1082;)</option>
<option value="ca">Catalan (Català)</option>
<option value="zh-CN">Chinese Simplified (&#31616;&#20307;&#20013;&#25991;)</option>
<option value="zh-TW">Chinese Traditional (&#32321;&#39636;&#20013;&#25991;)</option>
<option value="hr">Croatian (Hrvatski jezik)</option>
<option value="cs">Czech (Ceština)</option>
<option value="da">Danish (Dansk)</option>
<option value="nl">Dutch (Nederlands)</option>
<option value="eo">Esperanto</option>
<option value="fa">Farsi/Persian (&#8235;&#1601;&#1575;&#1585;&#1587;&#1740;)</option>
<option value="fi">Finnish (suomi)</option>
<option value="fr" selected="selected">French (Français)</option>
<option value="de">German (Deutsch)</option>
<option value="he">Hebrew (&#8235;&#1506;&#1489;&#1512;&#1497;&#1514;)</option>
<option value="hu">Hungarian (Magyar)</option>
<option value="is">Icelandic (Íslenska)</option>
<option value="id">Indonesian (Bahasa Indonesia)</option>
<option value="it">Italian (Italiano)</option>
<option value="ja">Japanese (&#26085;&#26412;&#35486;)</option>
<option value="ko">Korean (&#54620;&#44397;&#50612;)</option>
<option value="lv">Latvian (Latviešu Valoda)</option>
<option value="lt">Lithuanian (lietuviu kalba)</option>
<option value="no">Norwegian (Norsk)</option>
<option value="pl">Polish (Polski)</option>
<option value="pt-BR">Portuguese/Brazilian (Português)</option>
<option value="ro">Romanian (Româna)</option>
<option value="ru">Russian (&#1056;&#1091;&#1089;&#1089;&#1082;&#1080;&#1081;)</option>
<option value="sk">Slovak (Slovencina)</option>
<option value="sl">Slovenian (Slovenski Jezik)</option>
<option value="es">Spanish (Español)</option>
<option value="sv">Swedish (Svenska)</option>
<option value="th">Thai (&#3616;&#3634;&#3625;&#3634;&#3652;&#3607;&#3618;)</option>
<option value="tr">Turkish (Türkçe)</option>
<option value="uk">Ukranian (&#1059;&#1082;&#1088;&#1072;&#1111;&#1085;&#1089;&#1100;&#1082;&#1072;)</option>
</select></p>
</div><!-- End demo -->
<div class="demo-description">
<p>The datepicker may be localised for other languages and date preferences.
There is built-in support for languages that read right-to-left, such as Arabic and Hebrew.</p>
</div><!-- End demo-description -->
</body>
</html>

View File

@ -1,34 +1,34 @@
<!doctype html>
<html lang="en">
<head>
<title>jQuery UI Datepicker - Minimum and Maximum</title>
<link type="text/css" href="../../themes/default/ui.all.css" rel="stylesheet" />
<script type="text/javascript" src="../../jquery-1.2.6.js"></script>
<script type="text/javascript" src="../../ui/ui.core.js"></script>
<script type="text/javascript" src="../../ui/ui.datepicker.js"></script>
<link type="text/css" href="../demos.css" rel="stylesheet" />
<script type="text/javascript">
$(function() {
$("#datepicker").datepicker({minDate: -20, maxDate: '+1M +10D'});
});
</script>
</head>
<body>
<div class="demo">
<p>Date: <input type="text" id="datepicker"></p>
</div><!-- End demo -->
<div class="demo-description">
<p>The datepicker may have a minimum and/or maximum date set to restrict the range of possible dates.
These dates may be set as actual dates (new Date(2009, 1 - 1, 26)), as a numeric offset from
today (-20), or as a string of periods and units ('+1M +10D'). For the last, use 'D' for days,
'W' for weeks, 'M' for months, or 'Y' for years.</p>
</div><!-- End demo-description -->
</body>
</html>
<!doctype html>
<html lang="en">
<head>
<title>jQuery UI Datepicker - Minimum and Maximum</title>
<link type="text/css" href="../../themes/default/ui.all.css" rel="stylesheet" />
<script type="text/javascript" src="../../jquery-1.2.6.js"></script>
<script type="text/javascript" src="../../ui/ui.core.js"></script>
<script type="text/javascript" src="../../ui/ui.datepicker.js"></script>
<link type="text/css" href="../demos.css" rel="stylesheet" />
<script type="text/javascript">
$(function() {
$("#datepicker").datepicker({minDate: -20, maxDate: '+1M +10D'});
});
</script>
</head>
<body>
<div class="demo">
<p>Date: <input type="text" id="datepicker"></p>
</div><!-- End demo -->
<div class="demo-description">
<p>The datepicker may have a minimum and/or maximum date set to restrict the range of possible dates.
These dates may be set as actual dates (new Date(2009, 1 - 1, 26)), as a numeric offset from
today (-20), or as a string of periods and units ('+1M +10D'). For the last, use 'D' for days,
'W' for weeks, 'M' for months, or 'Y' for years.</p>
</div><!-- End demo-description -->
</body>
</html>