<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Updating timepickr</title>
	<atom:link href="http://bililite.nfshost.com/blog/2009/07/09/updating-timepickr/feed/" rel="self" type="application/rss+xml" />
	<link>http://bililite.nfshost.com/blog/2009/07/09/updating-timepickr/</link>
	<description>Thoughts on web design and programming from a very occasional volunteer webmaster</description>
	<lastBuildDate>Thu, 10 May 2012 10:36:28 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: Danny</title>
		<link>http://bililite.nfshost.com/blog/2009/07/09/updating-timepickr/comment-page-1/#comment-15851</link>
		<dc:creator>Danny</dc:creator>
		<pubDate>Tue, 21 Feb 2012 15:34:25 +0000</pubDate>
		<guid isPermaLink="false">http://bililite.nfshost.com/blog/?p=1009#comment-15851</guid>
		<description>@John Doe:
use &lt;code&gt;resetOnBlur: false&lt;/code&gt;
Danny</description>
		<content:encoded><![CDATA[<p>@John Doe:<br />
use <code>resetOnBlur: false</code><br />
Danny</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Doe</title>
		<link>http://bililite.nfshost.com/blog/2009/07/09/updating-timepickr/comment-page-1/#comment-15848</link>
		<dc:creator>John Doe</dc:creator>
		<pubDate>Tue, 21 Feb 2012 14:56:59 +0000</pubDate>
		<guid isPermaLink="false">http://bililite.nfshost.com/blog/?p=1009#comment-15848</guid>
		<description>Oh joy, it works now! =^-^=
Thank you very much. Sorry for the dumb mistakes I made but after some hours I went just code-blind. ;)
Now is there a way to have the user input the time by keyboard without interfeing with the timepicker?</description>
		<content:encoded><![CDATA[<p>Oh joy, it works now! =^-^=<br />
Thank you very much. Sorry for the dumb mistakes I made but after some hours I went just code-blind. <img src='http://bililite.nfshost.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> <br />
Now is there a way to have the user input the time by keyboard without interfeing with the timepicker?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Danny</title>
		<link>http://bililite.nfshost.com/blog/2009/07/09/updating-timepickr/comment-page-1/#comment-15791</link>
		<dc:creator>Danny</dc:creator>
		<pubDate>Mon, 20 Feb 2012 18:25:53 +0000</pubDate>
		<guid isPermaLink="false">http://bililite.nfshost.com/blog/?p=1009#comment-15791</guid>
		<description>@John Doe:
You&#039;ve got a whole bunch of typos/errors in your code:
&lt;ol&gt;
&lt;li&gt;script tags are not closed. They have to be &lt;code class=&quot;language-html&quot;&gt;&lt;script src=&quot;whatever&quot;&gt;&lt;/script&gt;&lt;/li&gt;
&lt;li&gt;Use the most up-to-date versions of the library, jQuery 1.7 and jQuery UI 1.8 (the css doesn&#039;t matter so much; I&#039;m still using the 1.7 Smoothness theme)&lt;/li&gt;
&lt;li&gt;The &lt;code&gt;:eq()&lt;/code&gt; selector starts from zero, so &lt;code&gt;:eq(1)&lt;/code&gt; won&#039;t select anything&lt;/li&gt;
&lt;/ul&gt;
Try the following:
&lt;pre&gt;&lt;code class=&quot;language-html&quot;&gt;&lt;html&gt;
&lt;head&gt;
&lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.0/themes/smoothness/jquery-ui.css&quot; /&gt;

&lt;script src=&quot;http://code.jquery.com/jquery-1.7.1.js&quot;&gt;&lt;/script&gt;
&lt;script src=&quot;http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.17/jquery-ui.js&quot;&gt;&lt;/script&gt;

&lt;script src=&quot;http://bililite.nfshost.com/inc/jquery.timepickr.js&quot;&gt;&lt;/script&gt;
&lt;/head&gt;

&lt;body&gt;
&lt;input class=&quot;timepickr-example&quot;/&gt;

&lt;script type=&quot;text/javascript&quot;&gt;
$(&#039;.timepickr-example:eq(0)&#039;).timepickr({
convention: 24,
format: &#039;{h}:{m}&#039;,
hoverIntent: false
});
&lt;/script&gt;
&lt;/body&gt;
&lt;/html&gt;&lt;/code&gt;&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>@John Doe:<br />
You&#8217;ve got a whole bunch of typos/errors in your code:</p>
<ol>
<li>script tags are not closed. They have to be <code class="language-html">&lt;script src="whatever"&gt;&lt;/script&gt;</code></li>
<li>Use the most up-to-date versions of the library, jQuery 1.7 and jQuery UI 1.8 (the css doesn't matter so much; I'm still using the 1.7 Smoothness theme)</li>
<li>The <code>:eq()</code> selector starts from zero, so <code>:eq(1)</code> won't select anything</li>

<p>Try the following:</p>
<pre><code class="language-html">&lt;html&gt;
&lt;head&gt;
&lt;link rel="stylesheet" type="text/css" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.0/themes/smoothness/jquery-ui.css" /&gt;

&lt;script src="http://code.jquery.com/jquery-1.7.1.js"&gt;&lt;/script&gt;
&lt;script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.17/jquery-ui.js"&gt;&lt;/script&gt;

&lt;script src="http://bililite.nfshost.com/inc/jquery.timepickr.js"&gt;&lt;/script&gt;
&lt;/head&gt;

&lt;body&gt;
&lt;input class="timepickr-example"/&gt;

&lt;script type="text/javascript"&gt;
$('.timepickr-example:eq(0)').timepickr({
convention: 24,
format: '{h}:{m}',
hoverIntent: false
});
&lt;/script&gt;
&lt;/body&gt;
&lt;/html&gt;</code></pre>
</ol>]]></content:encoded>
	</item>
	<item>
		<title>By: John Doe</title>
		<link>http://bililite.nfshost.com/blog/2009/07/09/updating-timepickr/comment-page-1/#comment-15786</link>
		<dc:creator>John Doe</dc:creator>
		<pubDate>Mon, 20 Feb 2012 16:02:44 +0000</pubDate>
		<guid isPermaLink="false">http://bililite.nfshost.com/blog/?p=1009#comment-15786</guid>
		<description>I just can’t get this to work. Not after one full hour of twiddling and hacking.
 PLEASE have a ultra minimalistic example somewhere, please please please.

This doesn’t work and I can not figure out why:

[html]
[head]
    [link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.0/themes/smoothness/jquery-ui.css&quot; /]

    [script src=&quot;http://code.jquery.com/jquery-1.4.2.min.js&quot;[/script]
    [script src=&quot;http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/jquery-ui.js&quot;[/script]
    [script src=&quot;http://jquery-ui.googlecode.com/svn/trunk/ui/jquery.ui.widget.js&quot;[/script]

    [script src=&quot;http://bililite.nfshost.com/jquery.timepickr.js&quot; /]
[/head]


[body]
    [input class=&quot;timepickr-example&quot;/]

    [script type=&quot;text/javascript&quot;]
        $(&#039;.timepickr-example:eq(1)&#039;).timepickr({
          convention: 24,
          format: &#039;{h}:{m}&#039;,
          hoverIntent: false
        });
    [/script]
[/body]
[/html]</description>
		<content:encoded><![CDATA[<p>I just can’t get this to work. Not after one full hour of twiddling and hacking.<br />
 PLEASE have a ultra minimalistic example somewhere, please please please.</p>
<p>This doesn’t work and I can not figure out why:</p>
<p>[html]<br />
[head]<br />
    [link rel="stylesheet" type="text/css" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.0/themes/smoothness/jquery-ui.css" /]</p>
<p>    [script src="http://code.jquery.com/jquery-1.4.2.min.js"[/script]<br />
    [script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/jquery-ui.js"[/script]<br />
    [script src="http://jquery-ui.googlecode.com/svn/trunk/ui/jquery.ui.widget.js"[/script]</p>
<p>    [script src="http://bililite.nfshost.com/jquery.timepickr.js" /]<br />
[/head]</p>
<p>[body]<br />
    [input class="timepickr-example"/]</p>
<p>    [script type="text/javascript"]<br />
        $(&#8216;.timepickr-example:eq(1)&#8217;).timepickr({<br />
          convention: 24,<br />
          format: &#8216;{h}:{m}&#8217;,<br />
          hoverIntent: false<br />
        });<br />
    [/script]<br />
[/body]<br />
[/html]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Danny</title>
		<link>http://bililite.nfshost.com/blog/2009/07/09/updating-timepickr/comment-page-1/#comment-4896</link>
		<dc:creator>Danny</dc:creator>
		<pubDate>Fri, 01 Jul 2011 12:03:52 +0000</pubDate>
		<guid isPermaLink="false">http://bililite.nfshost.com/blog/?p=1009#comment-4896</guid>
		<description>@Lucas:
That looks right. Can you put up a page with your code and I&#039;ll try to look at it? Try it without the &lt;code&gt;trigger&lt;/code&gt; option as well.
--Danny</description>
		<content:encoded><![CDATA[<p>@Lucas:<br />
That looks right. Can you put up a page with your code and I&#8217;ll try to look at it? Try it without the <code>trigger</code> option as well.<br />
&#8211;Danny</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lucas</title>
		<link>http://bililite.nfshost.com/blog/2009/07/09/updating-timepickr/comment-page-1/#comment-4828</link>
		<dc:creator>Lucas</dc:creator>
		<pubDate>Tue, 28 Jun 2011 11:31:03 +0000</pubDate>
		<guid isPermaLink="false">http://bililite.nfshost.com/blog/?p=1009#comment-4828</guid>
		<description>This time picker functionality seems to be exactly what I need.
However, it must be because I&#039;m new to jQuery but I cannot get this to work. It&#039;s so frustrating. I was using the old timepickr but I really want to use this one.
Here is my code:

    
        
        
        
        
        
        
        
        
        
            $(function(){
                $(&#039;#timestart&#039;).timepickr({
                    trigger: &#039;focus&#039;
                });
            });
        
    
    
        
    


Am I referencing the field in the wrong manner? That&#039;s how I call timepickr from the original site and it works. It doesn&#039;t seem to work in this case. I am calling jquery-ui and everything.
Thanks in advance for any tips and/or advice.</description>
		<content:encoded><![CDATA[<p>This time picker functionality seems to be exactly what I need.<br />
However, it must be because I&#8217;m new to jQuery but I cannot get this to work. It&#8217;s so frustrating. I was using the old timepickr but I really want to use this one.<br />
Here is my code:</p>
<p>            $(function(){<br />
                $(&#8216;#timestart&#8217;).timepickr({<br />
                    trigger: &#8216;focus&#8217;<br />
                });<br />
            });</p>
<p>Am I referencing the field in the wrong manner? That&#8217;s how I call timepickr from the original site and it works. It doesn&#8217;t seem to work in this case. I am calling jquery-ui and everything.<br />
Thanks in advance for any tips and/or advice.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shane Tomlinson</title>
		<link>http://bililite.nfshost.com/blog/2009/07/09/updating-timepickr/comment-page-1/#comment-1988</link>
		<dc:creator>Shane Tomlinson</dc:creator>
		<pubDate>Fri, 05 Nov 2010 11:33:44 +0000</pubDate>
		<guid isPermaLink="false">http://bililite.nfshost.com/blog/?p=1009#comment-1988</guid>
		<description>Hey Danny, great work here getting this updated for the newest jQuery/UI.  I have a patch to your redo I&#039;d like to submit back to you, it fixes some problems binding to blur to close the timepicker if trigger is set to something other than &quot;click&quot;, fixes a problem if the field does not have a value when the timepicker is instantiated but has a value when it is first shown, and finally fixes an issue I was seeing with the minutes row being shifted left in 24 hour mode whenever looking at hours 12-23.  Could you get back to me with an address I can mail this to?

Thanks,
Shane</description>
		<content:encoded><![CDATA[<p>Hey Danny, great work here getting this updated for the newest jQuery/UI.  I have a patch to your redo I&#8217;d like to submit back to you, it fixes some problems binding to blur to close the timepicker if trigger is set to something other than &#8220;click&#8221;, fixes a problem if the field does not have a value when the timepicker is instantiated but has a value when it is first shown, and finally fixes an issue I was seeing with the minutes row being shifted left in 24 hour mode whenever looking at hours 12-23.  Could you get back to me with an address I can mail this to?</p>
<p>Thanks,<br />
Shane</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Danny</title>
		<link>http://bililite.nfshost.com/blog/2009/07/09/updating-timepickr/comment-page-1/#comment-1937</link>
		<dc:creator>Danny</dc:creator>
		<pubDate>Sun, 31 Oct 2010 03:29:09 +0000</pubDate>
		<guid isPermaLink="false">http://bililite.nfshost.com/blog/?p=1009#comment-1937</guid>
		<description>@Haso Keric:
Ah, got it. They created a real base class called $.Widget, so you had to change $.widget.prototype to $.Widget.prototype.
I updated my code; thanks!

I kept the CSS stuff in the .js file so I could keep it all in one file, though your approach is of course the correct one.
--Danny</description>
		<content:encoded><![CDATA[<p>@Haso Keric:<br />
Ah, got it. They created a real base class called $.Widget, so you had to change $.widget.prototype to $.Widget.prototype.<br />
I updated my code; thanks!</p>
<p>I kept the CSS stuff in the .js file so I could keep it all in one file, though your approach is of course the correct one.<br />
&#8211;Danny</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Haso Keric</title>
		<link>http://bililite.nfshost.com/blog/2009/07/09/updating-timepickr/comment-page-1/#comment-1928</link>
		<dc:creator>Haso Keric</dc:creator>
		<pubDate>Fri, 29 Oct 2010 15:08:43 +0000</pubDate>
		<guid isPermaLink="false">http://bililite.nfshost.com/blog/?p=1009#comment-1928</guid>
		<description>It was minor changes the widget failed to destroy itself and cause a js error because apparently in 1.4.3 they changed the way this should be done... But ill keep improving it of course.. i also moved CSS stuff from .js to .css

keep an eye on it.. and contribute :)</description>
		<content:encoded><![CDATA[<p>It was minor changes the widget failed to destroy itself and cause a js error because apparently in 1.4.3 they changed the way this should be done&#8230; But ill keep improving it of course.. i also moved CSS stuff from .js to .css</p>
<p>keep an eye on it.. and contribute <img src='http://bililite.nfshost.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Danny</title>
		<link>http://bililite.nfshost.com/blog/2009/07/09/updating-timepickr/comment-page-1/#comment-1907</link>
		<dc:creator>Danny</dc:creator>
		<pubDate>Tue, 26 Oct 2010 03:29:55 +0000</pubDate>
		<guid isPermaLink="false">http://bililite.nfshost.com/blog/?p=1009#comment-1907</guid>
		<description>@Haso:
I assume you updated the code for jQuery UI 1.8.5, though I can&#039;t see any differences just glancing through the code. What changes did you make?
--Danny</description>
		<content:encoded><![CDATA[<p>@Haso:<br />
I assume you updated the code for jQuery UI 1.8.5, though I can&#8217;t see any differences just glancing through the code. What changes did you make?<br />
&#8211;Danny</p>
]]></content:encoded>
	</item>
</channel>
</rss>

