<?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: jQuery Impromptu 3.0 is Here</title> <atom:link href="http://trentrichardson.com/2010/02/16/jquery-impromptu-3-0-is-here/feed/" rel="self" type="application/rss+xml" /><link>http://trentrichardson.com/2010/02/16/jquery-impromptu-3-0-is-here/</link> <description>practical web design &#38; development</description> <lastBuildDate>Fri, 18 May 2012 18:53:09 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.2</generator> <item><title>By: MiKL~</title><link>http://trentrichardson.com/2010/02/16/jquery-impromptu-3-0-is-here/comment-page-1/#comment-22209</link> <dc:creator>MiKL~</dc:creator> <pubDate>Wed, 26 Jan 2011 02:15:03 +0000</pubDate> <guid
isPermaLink="false">http://trentrichardson.com/?p=487#comment-22209</guid> <description>I am getting the same issue as Ryan. When I close the dialog box with the &#039;x&#039;, the prompt is not fired anymore on subsequent calls. Can the X be removed? I have a cancel button anyway on each dialog box.</description> <content:encoded><![CDATA[<p>I am getting the same issue as Ryan. When I close the dialog box with the &#8216;x&#8217;, the prompt is not fired anymore on subsequent calls. Can the X be removed? I have a cancel button anyway on each dialog box.</p> ]]></content:encoded> </item> <item><title>By: trent</title><link>http://trentrichardson.com/2010/02/16/jquery-impromptu-3-0-is-here/comment-page-1/#comment-16089</link> <dc:creator>trent</dc:creator> <pubDate>Wed, 31 Mar 2010 12:10:52 +0000</pubDate> <guid
isPermaLink="false">http://trentrichardson.com/?p=487#comment-16089</guid> <description>It turns out I don&#039;t have a condition before my logic in the callback.  There needs to be a condition to make sure a button was clicked.. ex: if(v==true)</description> <content:encoded><![CDATA[<p>It turns out I don&#8217;t have a condition before my logic in the callback.  There needs to be a condition to make sure a button was clicked.. ex: if(v==true)</p> ]]></content:encoded> </item> <item><title>By: trent</title><link>http://trentrichardson.com/2010/02/16/jquery-impromptu-3-0-is-here/comment-page-1/#comment-16076</link> <dc:creator>trent</dc:creator> <pubDate>Mon, 29 Mar 2010 14:41:22 +0000</pubDate> <guid
isPermaLink="false">http://trentrichardson.com/?p=487#comment-16076</guid> <description>Ryan I think this may be linked back to the collection of form field values.  I think in recent versions of jQuery the serialize method has changed.  I will plan to fix this in my release this week!</description> <content:encoded><![CDATA[<p>Ryan I think this may be linked back to the collection of form field values.  I think in recent versions of jQuery the serialize method has changed.  I will plan to fix this in my release this week!</p> ]]></content:encoded> </item> <item><title>By: trent</title><link>http://trentrichardson.com/2010/02/16/jquery-impromptu-3-0-is-here/comment-page-1/#comment-16073</link> <dc:creator>trent</dc:creator> <pubDate>Mon, 29 Mar 2010 11:47:34 +0000</pubDate> <guid
isPermaLink="false">http://trentrichardson.com/?p=487#comment-16073</guid> <description>Hey Ryan,  I never noticed this before.  Thanks for pointing it out!</description> <content:encoded><![CDATA[<p>Hey Ryan,  I never noticed this before.  Thanks for pointing it out!</p> ]]></content:encoded> </item> <item><title>By: ryan</title><link>http://trentrichardson.com/2010/02/16/jquery-impromptu-3-0-is-here/comment-page-1/#comment-16058</link> <dc:creator>ryan</dc:creator> <pubDate>Sat, 27 Mar 2010 07:43:25 +0000</pubDate> <guid
isPermaLink="false">http://trentrichardson.com/?p=487#comment-16058</guid> <description>Does everyone see the behavior where all click events are disabled after clicking the &quot;x&quot; to close example #9?I see the same behavior in my instantiation of that code as well.</description> <content:encoded><![CDATA[<p>Does everyone see the behavior where all click events are disabled after clicking the &#8220;x&#8221; to close example #9?</p><p>I see the same behavior in my instantiation of that code as well.</p> ]]></content:encoded> </item> <item><title>By: trent</title><link>http://trentrichardson.com/2010/02/16/jquery-impromptu-3-0-is-here/comment-page-1/#comment-16052</link> <dc:creator>trent</dc:creator> <pubDate>Fri, 26 Mar 2010 16:19:26 +0000</pubDate> <guid
isPermaLink="false">http://trentrichardson.com/?p=487#comment-16052</guid> <description>Thanks Simon, I&#039;ll try to update it this weekend, I have a couple other tweaks as well!</description> <content:encoded><![CDATA[<p>Thanks Simon, I&#8217;ll try to update it this weekend, I have a couple other tweaks as well!</p> ]]></content:encoded> </item> <item><title>By: Simon</title><link>http://trentrichardson.com/2010/02/16/jquery-impromptu-3-0-is-here/comment-page-1/#comment-16051</link> <dc:creator>Simon</dc:creator> <pubDate>Fri, 26 Mar 2010 10:56:13 +0000</pubDate> <guid
isPermaLink="false">http://trentrichardson.com/?p=487#comment-16051</guid> <description>the last line in your code:$.prompt($(this).clone(withDataAndEvents).html(), options);should look like this:$.prompt($(this).clone(options.withDataAndEvents).html(), options);</description> <content:encoded><![CDATA[<p>the last line in your code:</p><p>$.prompt($(this).clone(withDataAndEvents).html(), options);</p><p>should look like this:</p><p>$.prompt($(this).clone(options.withDataAndEvents).html(), options);</p> ]]></content:encoded> </item> <item><title>By: cFreed</title><link>http://trentrichardson.com/2010/02/16/jquery-impromptu-3-0-is-here/comment-page-1/#comment-16014</link> <dc:creator>cFreed</dc:creator> <pubDate>Fri, 19 Mar 2010 17:01:25 +0000</pubDate> <guid
isPermaLink="false">http://trentrichardson.com/?p=487#comment-16014</guid> <description>Sorry: I missed a part of code in my proposal above.-&gt; between lines 204 and 205:
if (clicked.constructor == Array) {
clicked = clicked[0];
}</description> <content:encoded><![CDATA[<p>Sorry: I missed a part of code in my proposal above.</p><p>-&gt; between lines 204 and 205:<br
/> if (clicked.constructor == Array) {<br
/> clicked = clicked[0];<br
/> }</p> ]]></content:encoded> </item> <item><title>By: cFreed</title><link>http://trentrichardson.com/2010/02/16/jquery-impromptu-3-0-is-here/comment-page-1/#comment-16010</link> <dc:creator>cFreed</dc:creator> <pubDate>Thu, 18 Mar 2010 17:28:48 +0000</pubDate> <guid
isPermaLink="false">http://trentrichardson.com/?p=487#comment-16010</guid> <description>Thanks for this good job!For my own needs, I added something which may be useful for others: have an optional title attribute associated to some prompt buttons.To achieve it, I simply inserted the followings (line numbers below refer to 3.0 development version):
-&gt; between lines 65 and 66:
var title=&#039;&#039;;
if (v.constructor == Array) {
title = v[1];
v = v[0];
}
-&gt; inside line 66, where the end of the line becomes:
...v + &#039;&quot;&#039;+ (title?(&#039; title=&quot;&#039;+title+&#039;&quot;&#039;):&#039;&#039;) +&#039;&gt;&#039; + k + &#039;&#039;;With this patch, using jqImpromptu may look like:
$.prompt (&#039;Some text&#039;, buttons: {Ok: [true, &#039;Will save your changes&#039;], Cancel: false});This manner, the option is that each button value may be, either:
- a simple response value
- an array [response value, title string]
It might be extended to a more sophisticated version, where an object should also be accepted in place of the array, containing attr/value pairs.Hope this helps.</description> <content:encoded><![CDATA[<p>Thanks for this good job!</p><p>For my own needs, I added something which may be useful for others: have an optional title attribute associated to some prompt buttons.</p><p>To achieve it, I simply inserted the followings (line numbers below refer to 3.0 development version):<br
/> -&gt; between lines 65 and 66:<br
/> var title=&#8221;;<br
/> if (v.constructor == Array) {<br
/> title = v[1];<br
/> v = v[0];<br
/> }<br
/> -&gt; inside line 66, where the end of the line becomes:<br
/> &#8230;v + &#8216;&#8221;&#8216;+ (title?(&#8216; title=&#8221;&#8216;+title+&#8217;&#8221;&#8216;):&#8221;) +&#8217;&gt;&#8217; + k + &#8221;;</p><p>With this patch, using jqImpromptu may look like:<br
/> $.prompt (&#8216;Some text&#8217;, buttons: {Ok: [true, 'Will save your changes'], Cancel: false});</p><p>This manner, the option is that each button value may be, either:<br
/> - a simple response value<br
/> - an array [response value, title string]<br
/> It might be extended to a more sophisticated version, where an object should also be accepted in place of the array, containing attr/value pairs.</p><p>Hope this helps.</p> ]]></content:encoded> </item> <item><title>By: Nuno</title><link>http://trentrichardson.com/2010/02/16/jquery-impromptu-3-0-is-here/comment-page-1/#comment-15940</link> <dc:creator>Nuno</dc:creator> <pubDate>Wed, 10 Mar 2010 06:56:37 +0000</pubDate> <guid
isPermaLink="false">http://trentrichardson.com/?p=487#comment-15940</guid> <description>Hi Trent,
I&#039;m using impromptu on a new project and have been testing it with different browsers.
FF 3.5 and IE8 work just fine.
I had to make a change so that chromium (linux) could display the correct opacity: I added
&quot;-webkit-opacity&quot;: options.opacity
to the stylePrompt function.Thanks a lot for your work!</description> <content:encoded><![CDATA[<p>Hi Trent,<br
/> I&#8217;m using impromptu on a new project and have been testing it with different browsers.<br
/> FF 3.5 and IE8 work just fine.<br
/> I had to make a change so that chromium (linux) could display the correct opacity: I added<br
/> &#8220;-webkit-opacity&#8221;: options.opacity<br
/> to the stylePrompt function.</p><p>Thanks a lot for your work!</p> ]]></content:encoded> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced
Database Caching 3/16 queries in 0.084 seconds using disk: basic
Object Caching 350/350 objects using disk: basic

Served from: trentrichardson.com @ 2012-05-21 04:53:53 -->
