summaryrefslogtreecommitdiffstats
path: root/dist/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'dist/index.html')
-rw-r--r--dist/index.html35
1 files changed, 28 insertions, 7 deletions
diff --git a/dist/index.html b/dist/index.html
index b1c1993..006fc0b 100644
--- a/dist/index.html
+++ b/dist/index.html
@@ -126,9 +126,9 @@
<br />
<h3>Version</h3>
- <p>Version 1.5.0</p>
+ <p>Version 1.5.2</p>
- <p>Last updated on 2014-09-01</p>
+ <p>Last updated on 2015-03-15</p>
<p>jQuery Timepicker Addon is currently available for use in all personal or commercial projects under the MIT license.</p>
<p><a href="http://trentrichardson.com/Impromptu/MIT-LICENSE.txt" title="MIT License">MIT License</a></p>
@@ -345,6 +345,9 @@
<dt>timeOnlyShowDate</dt>
<dd><em>Default: false</em> - Show the date and time in the input, but only allow the timepicker.</dd>
+ <dt>afterInject</dt>
+ <dd><em>Default: null</em> - Function to be called when the timepicker or selection control is injected or re-rendered. Called in the context of the timepicker instance.</dd>
+
<dt>onSelect</dt>
<dd><em>Default: null</em> - Function to be called when a date is chosen or time has changed (parameters: datetimeText, datepickerInstance).</dd>
@@ -363,6 +366,9 @@
<dt>showTimepicker</dt>
<dd><em>Default: true</em> - Whether to show the timepicker within the datepicker.</dd>
+ <dt>oneLine</dt>
+ <dd><em>Default: false</em> - Try to show the time dropdowns all on one line. This should be used with controlType 'select' and as few units as possible.</dd>
+
<dt>addSliderAccess</dt>
<dd><em>Default: false</em> - Adds the <a href="http://trentrichardson.com/examples/jQuery-SliderAccess/" title="jQueryUI Slider Access Plugin">sliderAccess plugin</a> to sliders within timepicker</dd>
@@ -697,6 +703,20 @@ $('#slider_example_4').datetimepicker({
<!-- ============= example -->
<div class="example-container">
+ <p>Uses one line dropdowns instead of sliders.</p>
+ <div>
+ <input type="text" name="slider_example_4andHalf" id="slider_example_4andHalf" value="" />
+ </div>
+<pre>
+$('#slider_example_4andHalf').datetimepicker({
+ controlType: 'select',
+ oneLine: true,
+ timeFormat: 'hh:mm tt'
+});</pre>
+ </div>
+
+ <!-- ============= example -->
+ <div class="example-container">
<p>Create your own control by implementing the create, options, and value methods. If you want to use your new control for all instances use the $.timepicker.setDefaults({controlType:myControl}). Here we implement jQueryUI's spinner control (jQueryUI 1.9+).</p>
<div>
<input type="text" name="slider_example_5" id="slider_example_5" value="" />
@@ -1070,15 +1090,16 @@ $('#utility_example_3').text(JSON.stringify(
</script>
<script type="text/javascript" src="https://sellfy.com/js/api_buttons.js"></script>
-
- <script type="text/javascript"> /*
+ <!--
+ <script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
- */</script>
- <script type="text/javascript"> /*
+ </script>
+ <script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-7602218-1");
pageTracker._trackPageview();
- } catch(err) {}*/</script>
+ } catch(err) {}</script>
+ -->
</body>
</html> \ No newline at end of file