2012-01-16 23:22:54 +04:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
2012-10-12 18:32:38 +04:00
|
|
|
<!-- Around the world, around the world -->
|
|
|
|
<!-- Around the world, around the world -->
|
|
|
|
<!-- Around the world, around the world -->
|
|
|
|
<!-- Around the world, around the world -->
|
|
|
|
|
2012-01-16 23:22:54 +04:00
|
|
|
<meta charset="utf-8">
|
|
|
|
<title>Internationalisation page for the jquery ui timepicker</title>
|
|
|
|
|
|
|
|
<script src="../include/jquery-1.5.1.min.js"></script>
|
|
|
|
<script src="../include/jquery.ui.core.min.js"></script>
|
|
|
|
<script src="../include/jquery.ui.widget.min.js"></script>
|
|
|
|
<script src="../jquery.ui.timepicker.js"></script>
|
|
|
|
|
|
|
|
<link rel="stylesheet" href="../include/jquery-ui-1.8.14.custom.css" />
|
|
|
|
<link rel="stylesheet" href="../jquery.ui.timepicker.css" />
|
|
|
|
<style>
|
|
|
|
#timepicker { font-size: 10px }
|
|
|
|
</style>
|
2012-10-12 18:32:38 +04:00
|
|
|
<script src='jquery.ui.timepicker-cs.js'></script>
|
2012-01-16 23:22:54 +04:00
|
|
|
<script src='jquery.ui.timepicker-de.js'></script>
|
2012-10-12 18:32:38 +04:00
|
|
|
<script src='jquery.ui.timepicker-es.js'></script>
|
|
|
|
|
2012-01-16 23:22:54 +04:00
|
|
|
<script src='jquery.ui.timepicker-fr.js'></script>
|
2012-10-12 18:32:38 +04:00
|
|
|
<script src='jquery.ui.timepicker-hr.js'></script>
|
|
|
|
<script src='jquery.ui.timepicker-it.js'></script>
|
2012-01-16 23:22:54 +04:00
|
|
|
<script src='jquery.ui.timepicker-ja.js'></script>
|
2012-10-12 18:32:38 +04:00
|
|
|
<script src='jquery.ui.timepicker-nl.js'></script>
|
|
|
|
<script src='jquery.ui.timepicker-pl.js'></script>
|
|
|
|
<script src='jquery.ui.timepicker-pt-BR.js'></script>
|
|
|
|
<script src='jquery.ui.timepicker-sl.js'></script>
|
|
|
|
<script src='jquery.ui.timepicker-sv.js'></script>
|
|
|
|
<script src='jquery.ui.timepicker-tr.js'></script>
|
2012-01-16 23:22:54 +04:00
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
|
|
|
|
<script type="text/javascript">
|
|
|
|
$(document).ready(function() {
|
|
|
|
|
|
|
|
$.timepicker.setDefaults( $.timepicker.regional[ "" ] );
|
|
|
|
|
|
|
|
$('#timepicker').timepicker({
|
|
|
|
showCloseButton: true,
|
|
|
|
showNowButton: true,
|
|
|
|
showDeselectButton: true
|
|
|
|
});
|
|
|
|
|
2012-10-12 18:32:38 +04:00
|
|
|
$('#locale').change(updateLocale).keyup(updateLocale);
|
|
|
|
|
2012-01-16 23:22:54 +04:00
|
|
|
});
|
2012-10-12 18:32:38 +04:00
|
|
|
|
|
|
|
function updateLocale()
|
|
|
|
{
|
|
|
|
$('#timepicker').timepicker( "option",
|
|
|
|
$.timepicker.regional[ $( '#locale' ).val() ] );
|
|
|
|
}
|
|
|
|
|
2012-01-16 23:22:54 +04:00
|
|
|
</script>
|
|
|
|
|
|
|
|
Select a localisation :
|
|
|
|
<select id='locale'>
|
2012-10-12 18:32:38 +04:00
|
|
|
<option>Select a localisation</option>
|
|
|
|
|
|
|
|
<option value='hr'>Croatian/Bosnian</option>
|
|
|
|
<option value='cs'>Czech</option>
|
|
|
|
<option value='de'>German (Deutsch)</option>
|
|
|
|
<option value='nl'>Dutch (Nederlands)</option>
|
|
|
|
<option value='fr'>Français</option>
|
|
|
|
<option value='it'>Italian</option>
|
2012-01-16 23:22:54 +04:00
|
|
|
<option value='ja'>Japanese</option>
|
2012-10-12 18:32:38 +04:00
|
|
|
<option value='pl'>Polish</option>
|
|
|
|
<option value="pt-BR">Portuguese/Brazilian</option>
|
|
|
|
<option value='sl'>Slovenian</option>
|
|
|
|
<option value='es'>Spanish</option>
|
|
|
|
<option value='sv'>Swedish</option>
|
|
|
|
<option value='tr'>Turkish</option>
|
2012-01-16 23:22:54 +04:00
|
|
|
</select>
|
|
|
|
|
|
|
|
<br>
|
|
|
|
|
|
|
|
<div id="timepicker">
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<br>
|
|
|
|
|
|
|
|
List of localisations :
|
|
|
|
<ul>
|
2012-10-12 18:32:38 +04:00
|
|
|
|
2012-01-16 23:22:54 +04:00
|
|
|
<li>
|
2012-10-12 18:32:38 +04:00
|
|
|
<a href="jquery.ui.timepicker-hr.js">Croatian/Bosnian (jquery.ui.timepicker.hr.js)</a>
|
2012-01-16 23:22:54 +04:00
|
|
|
</li>
|
2012-10-12 18:32:38 +04:00
|
|
|
|
|
|
|
<li>
|
|
|
|
<a href="jquery.ui.timepicker-cs.js">Czech (jquery.ui.timepicker-cs.js</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li>
|
|
|
|
<a href="jquery.ui.timepicker-de.js">German (Deutsch) (jquery.ui.timepicker-de.js)</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li>
|
|
|
|
<a href="jquery.ui.timepicker-nl.js">Dutch (Nederlands) (jquery.ui.timepicker-nl.js)</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li>
|
|
|
|
<a href="jquery.ui.timepicker-fr.js">Français (jquery.ui.timepicker-fr.js)</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li>
|
|
|
|
<a href="jquery.ui.timepicker-it.js">Italian (jquery.ui.timepicker-it.js)</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li>
|
|
|
|
<a href="jquery.ui.timepicker-ja.js">Japanese (jquery.ui.timepicker-ja.js)</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li>
|
|
|
|
<a href="jquery.ui.timepicker-pl.js">Polish (jquery.ui.timepicker-pl.js)</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li>
|
|
|
|
<a href="jquery.ui.timepicker-pt-BR.js">Portuguese/Brazilian (jquery.ui.timepicker-pt-BR.js)</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li>
|
|
|
|
<a href="jquery.ui.timepicker-sl.js">Slovenian (jquery.ui.timepicker-sl.js)</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li>
|
|
|
|
<a href="jquery.ui.timepicker-sv.js">Swedish (jquery.ui.timepicker-sv.js)</a>
|
|
|
|
</li>
|
|
|
|
|
2012-01-16 23:22:54 +04:00
|
|
|
<li>
|
2012-10-12 18:32:38 +04:00
|
|
|
<a href="jquery.ui.timepicker-es.js">Spanish (jquery.ui.timepicker-es.js)</a>
|
2012-01-16 23:22:54 +04:00
|
|
|
</li>
|
|
|
|
|
|
|
|
<li>
|
2012-10-12 18:32:38 +04:00
|
|
|
<a href="jquery.ui.timepicker-sv.js">Turkish (jquery.ui.timepicker-tr.js)</a>
|
2012-01-16 23:22:54 +04:00
|
|
|
</li>
|
|
|
|
|
|
|
|
</ul>
|
|
|
|
|
2012-10-12 18:32:38 +04:00
|
|
|
</body>
|
|
|
|
</html>
|