<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.3.3" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments on: jquery.suggest 1.1</title>
	<link>http://www.vulgarisoip.com/2007/08/06/jquerysuggest-11/</link>
	<description>CTO during the week, CBO during the weekend</description>
	<pubDate>Wed, 23 Jul 2008 18:51:18 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.3</generator>
		<item>
		<title>By: pvulgaris</title>
		<link>http://www.vulgarisoip.com/2007/08/06/jquerysuggest-11/#comment-13523</link>
		<dc:creator>pvulgaris</dc:creator>
		<pubDate>Wed, 16 Apr 2008 23:59:58 +0000</pubDate>
		<guid>http://www.vulgarisoip.com/2007/08/06/jquerysuggest-11/#comment-13523</guid>
		<description>What's the tabs bug exactly? I'm working on a new version to be released soon along with another surprise.</description>
		<content:encoded><![CDATA[<p>What&#8217;s the tabs bug exactly? I&#8217;m working on a new version to be released soon along with another surprise.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: resimler</title>
		<link>http://www.vulgarisoip.com/2007/08/06/jquerysuggest-11/#comment-13520</link>
		<dc:creator>resimler</dc:creator>
		<pubDate>Wed, 16 Apr 2008 21:48:08 +0000</pubDate>
		<guid>http://www.vulgarisoip.com/2007/08/06/jquerysuggest-11/#comment-13520</guid>
		<description>Can anyone fix the “tabs” bug. Perhaps for an little gift from the Amazon Wishlist?</description>
		<content:encoded><![CDATA[<p>Can anyone fix the “tabs” bug. Perhaps for an little gift from the Amazon Wishlist?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 胡松的博客 &#187; 强烈推荐：240多个jQuery插件</title>
		<link>http://www.vulgarisoip.com/2007/08/06/jquerysuggest-11/#comment-13379</link>
		<dc:creator>胡松的博客 &#187; 强烈推荐：240多个jQuery插件</dc:creator>
		<pubDate>Sat, 05 Apr 2008 18:32:29 +0000</pubDate>
		<guid>http://www.vulgarisoip.com/2007/08/06/jquerysuggest-11/#comment-13379</guid>
		<description>[...] jQuery Suggest. jQuery Autocomplete. jQuery Autocomplete Mod. jQuery Autocomplete by AjaxDaddy. jQuery Autocomplete Plugin with HTML formatting. jQuery Autocompleter. AutoCompleter (Tutorial with PHP&#38;MySQL). quick Search jQuery Plugin. [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] jQuery Suggest. jQuery Autocomplete. jQuery Autocomplete Mod. jQuery Autocomplete by AjaxDaddy. jQuery Autocomplete Plugin with HTML formatting. jQuery Autocompleter. AutoCompleter (Tutorial with PHP&amp;MySQL). quick Search jQuery Plugin. [&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: The ultimate jQuery Plugin List &#124; Kollermedia.at</title>
		<link>http://www.vulgarisoip.com/2007/08/06/jquerysuggest-11/#comment-13339</link>
		<dc:creator>The ultimate jQuery Plugin List &#124; Kollermedia.at</dc:creator>
		<pubDate>Wed, 02 Apr 2008 07:52:43 +0000</pubDate>
		<guid>http://www.vulgarisoip.com/2007/08/06/jquerysuggest-11/#comment-13339</guid>
		<description>[...] jQuery Suggest jQuery Autocomplete jQuery Autocomplete Mod jQuery Autocomplete by AjaxDaddy jQuery Autocomplete Plugin with HTML formatting jQuery Autocompleter AutoCompleter (Tutorial with PHP&#38;MySQL) quick Search jQuery Plugin [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] jQuery Suggest jQuery Autocomplete jQuery Autocomplete Mod jQuery Autocomplete by AjaxDaddy jQuery Autocomplete Plugin with HTML formatting jQuery Autocompleter AutoCompleter (Tutorial with PHP&amp;MySQL) quick Search jQuery Plugin [&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 1000 ressources pour le développement web et WordPress at pr0g</title>
		<link>http://www.vulgarisoip.com/2007/08/06/jquerysuggest-11/#comment-13310</link>
		<dc:creator>1000 ressources pour le développement web et WordPress at pr0g</dc:creator>
		<pubDate>Mon, 31 Mar 2008 12:22:30 +0000</pubDate>
		<guid>http://www.vulgarisoip.com/2007/08/06/jquerysuggest-11/#comment-13310</guid>
		<description>[...] jQuery Suggest [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] jQuery Suggest [&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 百变贝贝 &#187; 上百个让你事半功倍的jquery插件</title>
		<link>http://www.vulgarisoip.com/2007/08/06/jquerysuggest-11/#comment-13102</link>
		<dc:creator>百变贝贝 &#187; 上百个让你事半功倍的jquery插件</dc:creator>
		<pubDate>Thu, 20 Mar 2008 01:20:01 +0000</pubDate>
		<guid>http://www.vulgarisoip.com/2007/08/06/jquerysuggest-11/#comment-13102</guid>
		<description>[...] jQuery Suggest jQuery Autocomplete jQuery Autocomplete Mod jQuery Autocomplete by AjaxDaddy jQuery Autocomplete Plugin with HTML formatting jQuery Autocompleter AutoCompleter (Tutorial with PHP&#38;MySQL) quick Search jQuery Plugin [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] jQuery Suggest jQuery Autocomplete jQuery Autocomplete Mod jQuery Autocomplete by AjaxDaddy jQuery Autocomplete Plugin with HTML formatting jQuery Autocompleter AutoCompleter (Tutorial with PHP&amp;MySQL) quick Search jQuery Plugin [&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Grom&#8217;s home &#187; Blog Archive &#187; [转]240多个jQuery插件</title>
		<link>http://www.vulgarisoip.com/2007/08/06/jquerysuggest-11/#comment-12856</link>
		<dc:creator>Grom&#8217;s home &#187; Blog Archive &#187; [转]240多个jQuery插件</dc:creator>
		<pubDate>Tue, 11 Mar 2008 01:41:14 +0000</pubDate>
		<guid>http://www.vulgarisoip.com/2007/08/06/jquerysuggest-11/#comment-12856</guid>
		<description>[...] jQuery Suggest. jQuery Autocomplete. jQuery Autocomplete Mod. jQuery Autocomplete by AjaxDaddy. jQuery Autocomplete Plugin with HTML formatting. jQuery Autocompleter. AutoCompleter (Tutorial with PHP&#38;MySQL). quick Search jQuery Plugin. [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] jQuery Suggest. jQuery Autocomplete. jQuery Autocomplete Mod. jQuery Autocomplete by AjaxDaddy. jQuery Autocomplete Plugin with HTML formatting. jQuery Autocompleter. AutoCompleter (Tutorial with PHP&amp;MySQL). quick Search jQuery Plugin. [&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rioka</title>
		<link>http://www.vulgarisoip.com/2007/08/06/jquerysuggest-11/#comment-12647</link>
		<dc:creator>rioka</dc:creator>
		<pubDate>Thu, 06 Mar 2008 17:36:25 +0000</pubDate>
		<guid>http://www.vulgarisoip.com/2007/08/06/jquerysuggest-11/#comment-12647</guid>
		<description>If you leave the suggestion list without selecting a value (via e.g. ESC key), the last timeout set is not reset, so if you leave the input box via TAB, the list appears one more time. 

Had no time to investigate much, but as far as I've seen, you should match each 
  $result.hide() 
with 
  if (timeout) {clearTimeout(timeout); timeout = false}</description>
		<content:encoded><![CDATA[<p>If you leave the suggestion list without selecting a value (via e.g. ESC key), the last timeout set is not reset, so if you leave the input box via TAB, the list appears one more time. </p>
<p>Had no time to investigate much, but as far as I&#8217;ve seen, you should match each<br />
  $result.hide()<br />
with<br />
  if (timeout) {clearTimeout(timeout); timeout = false}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michal Wojciechowski</title>
		<link>http://www.vulgarisoip.com/2007/08/06/jquerysuggest-11/#comment-12478</link>
		<dc:creator>Michal Wojciechowski</dc:creator>
		<pubDate>Mon, 03 Mar 2008 11:19:37 +0000</pubDate>
		<guid>http://www.vulgarisoip.com/2007/08/06/jquerysuggest-11/#comment-12478</guid>
		<description>Gah, I just noticed my last comment has been stripped of tags. What I meant to say was:

In some cases, it might be necessary to append the suggestions "ul" to a specific parent element other than "body" — as in my application, where the input field was placed on a draggable jqModal dialog box. To keep the suggestions list in the right place, it had to be positioned relative to the dialog box "div".</description>
		<content:encoded><![CDATA[<p>Gah, I just noticed my last comment has been stripped of tags. What I meant to say was:</p>
<p>In some cases, it might be necessary to append the suggestions &#8220;ul&#8221; to a specific parent element other than &#8220;body&#8221; — as in my application, where the input field was placed on a draggable jqModal dialog box. To keep the suggestions list in the right place, it had to be positioned relative to the dialog box &#8220;div&#8221;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michal Wojciechowski</title>
		<link>http://www.vulgarisoip.com/2007/08/06/jquerysuggest-11/#comment-12472</link>
		<dc:creator>Michal Wojciechowski</dc:creator>
		<pubDate>Mon, 03 Mar 2008 00:06:37 +0000</pubDate>
		<guid>http://www.vulgarisoip.com/2007/08/06/jquerysuggest-11/#comment-12472</guid>
		<description>In some cases, it might be necessary to append the suggestions  to a specific parent element other than  -- as in my application, where the input field was placed on a draggable jqModal dialog box. To keep the suggestions list in the right place, it had to be positioned relative to the dialog box . I added a "parent" option for this purpose -- here's a list of modifications:

Change:
$results.addClass(options.resultsClass).appendTo('body');

to:
$results.addClass(options.resultsClass).appendTo(options.parent);

In resetPosition(), change:
var offset = $input.offset();

to:
var offset = $input.offset({relativeTo: $(options.parent)});

Then, at the beginning of suggest(), add:
resetPosition();

Finally, after the line:
options.maxCacheSize = options.maxCacheSize &#124;&#124; 65536;

add this:
options.parent = options.parent &#124;&#124; 'body';

And here's how you use it:
$('input#id').suggest('http://some.url/', { parent: '#parent_id' });</description>
		<content:encoded><![CDATA[<p>In some cases, it might be necessary to append the suggestions  to a specific parent element other than  &#8212; as in my application, where the input field was placed on a draggable jqModal dialog box. To keep the suggestions list in the right place, it had to be positioned relative to the dialog box . I added a &#8220;parent&#8221; option for this purpose &#8212; here&#8217;s a list of modifications:</p>
<p>Change:<br />
$results.addClass(options.resultsClass).appendTo(&#8217;body&#8217;);</p>
<p>to:<br />
$results.addClass(options.resultsClass).appendTo(options.parent);</p>
<p>In resetPosition(), change:<br />
var offset = $input.offset();</p>
<p>to:<br />
var offset = $input.offset({relativeTo: $(options.parent)});</p>
<p>Then, at the beginning of suggest(), add:<br />
resetPosition();</p>
<p>Finally, after the line:<br />
options.maxCacheSize = options.maxCacheSize || 65536;</p>
<p>add this:<br />
options.parent = options.parent || &#8216;body&#8217;;</p>
<p>And here&#8217;s how you use it:<br />
$(&#8217;input#id&#8217;).suggest(&#8217;http://some.url/&#8217;, { parent: &#8216;#parent_id&#8217; });</p>
]]></content:encoded>
	</item>
</channel>
</rss>
