<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>digitarald.de - Latest Comments in AutoCompleter</title><link>http://digitarald-de.disqus.com/</link><description></description><atom:link href="https://digitarald-de.disqus.com/autocompleter/latest.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Wed, 29 Jul 2009 11:15:24 -0000</lastBuildDate><item><title>Re: AutoCompleter</title><link>http://digitarald.de/project/autocompleter/#comment-13536352</link><description>&lt;p&gt;im trying to include flag icons in my autocomplete results &lt;br&gt;(i translitirate my tokens to latin names to get the images) &lt;br&gt;The code is bad but ain't work in Google Chrome :( it works in FF and IE at the same time! Please help me! How can i include image elements in the result list?&lt;br&gt;document.addEvent('domready', function() {&lt;/p&gt;&lt;p&gt; // функция транслитерации&lt;/p&gt;&lt;p&gt;function translit(s)&lt;br&gt;{&lt;br&gt;var t="аaбbвvгgдdеeёjoжzhзzиiйjjкkлlмmнnоoпpрrсsтtуuфfхkhцcчchшshщshhъ''ыyь'эehюjuяjaАAБBВVГGДDЕEЁJoЖZhЗZИIЙJjКKЛLМMНNОOПPРRСSТTУUФFХKhЦCЧChШShЩShhЪ''ЫYЬ'ЭEhЮJuЯJa";&lt;br&gt;t=t.replace(/([а-яёЁ])([a-z']+)/gi,'.replace(/$1/g,"$2")');&lt;br&gt;return eval("s"+t);&lt;br&gt;}&lt;br&gt;	var tokens = ['Афганистан', 'Aвстралия', 'Албания', 'Алжир', 'Аргентина', 'Ангола', 'Аргентина', 'Армения', 'Аруба', 'Aзербайджан', 'Aвстрия', 'Багамы', 'Бахрейн', 'Бангладеш', 'Барбадос', 'Беларусь', 'Бельгия', 'Белиз', 'Бенин', 'Бермудские острова', 'Бутан', 'Боливия', 'Босния и Герцеговина', 'Ботсвана', 'Буве, остров', 'Бразилия', 'Бруней Дарассалам', 'Болгария', 'Буркина-Фасо', 'Бурунди', 'Бутан', 'Камерун', 'Канада', 'Каймановы о-ва (Великобритания)', 'Центрально-африканская Республика', 'Чад', 'Чили', 'Китай', 'Остров Рождества', 'Кокосовые (Килинг) острова', 'Колумбия', 'Коморские о-ва', 'Конго', 'Демократическая Республика Конго', 'Острова Кука (Новая Зеландия)', 'Коста-Рика', 'Кот-Дивуар', 'Хорватия', 'Куба', 'Кипр', 'Чехия', 'Дания', 'Джибути', 'Доминиканская республика', 'Эквадор', 'Египет', 'Экваториальная Гвинея', 'Эритрия', 'Эстония', 'Эфиопия', 'Фолклендские (Мальвинские) острова', 'Фарерские острова', 'Фиджи', 'Финляндия', 'Франция', 'Французская Гвиана', 'Французская Полинезия', 'Габон', 'Гамбия', 'Грузия', 'Германия', 'Гана', 'Гибралтар', 'Греция', 'Гренландия', 'Гренада', 'Гваделупа', 'Гуам', 'Гватемала', 'Гвинея', 'Гвинея-Бисау', 'Гайна', 'Гаити', 'Гондурас', 'Гон-Конг', 'Венгрия', 'Исландия', 'Индия', 'Индонезия', 'Иран', 'Ирак', 'Ирландия', 'Израиль', 'Италия', 'Ямайка', 'Япония', 'Иордания', 'Казахстан', 'Кения', 'Корея, Южная', 'Корея, Северная', 'Кувейт', 'Киргизстан', 'Лаос', 'Латвия', 'Лесото', 'Либерия', 'Лихтенштейн', 'Литва', 'Люксембург', 'Макао', 'Македония', 'Мадагаскар', 'Малави', 'Малайзия', 'Мальдивы', 'Мали', 'Мальта', 'Мавритания', 'Мексика', 'Микронезия', 'Молдова', 'Монако', 'Монголия', 'Монтсеррат', 'Марокко', 'Мозамбик', 'Мьянма', 'Намибия', 'Непал', 'Нидерланды', 'Новая Каледония', 'Новая Зеландия', 'Никарагуа', 'Нигер', 'Нигерия', 'Норвегия', 'Оман', 'Пакистан', 'Панама', 'Папуа Новой Гвинеи', 'Парагвай', 'Перу', 'Филлипины', 'Польша', 'Португалия', 'Пуэрто-Рико', 'остров Реюньон (Франция)', 'Румыния', 'Российская Федерация', 'Руанда', 'остров Святой Елены', 'Самоа', 'Сан-Марино', 'Саудовская Аравия', 'Сенегал', 'Сьерра-Леоне', 'Сингапур', 'Словакия', 'Словения', 'Соломоновы острова', 'Сомали', 'Южная Африка', 'Испания', 'Шри Ланка', 'Судан', 'Свазиленд', 'Швеция', 'Швейцария', 'Сирия', 'Тайвань', 'Таджикистан', 'Танзания', 'Таиланд', 'Того', 'Токелау', 'Тонга', 'Тринидад и Тобаго', 'Тунис', 'Турция', 'Туркменистан', 'Тувалу', 'Уганда', 'Украина', 'ОАЭ', 'Англия', 'Великобритания', 'США', 'Соединенные Штаты Америки', 'Уругвай', 'Узбекистан', 'Ванауту', 'Венесуэла', 'Вьетнам', 'Йемен', 'Замбия', 'Зимбабве'];&lt;/p&gt;&lt;p&gt;	new Autocompleter.Local('demo-local4', tokens, {&lt;br&gt;		'minLength': 1,&lt;br&gt;		'selectMode': 'pick',&lt;br&gt;		'overflow': true,&lt;br&gt;		'injectChoice': function(token){&lt;br&gt;			var choice = new Element('li');&lt;br&gt;                         new Element('img', {&lt;br&gt;				'src': 'images/' + translit(token) + '.gif'&lt;br&gt;			}).inject(choice);&lt;br&gt;				new Element('img', {&lt;br&gt;				'src': 'images/' + 'spacer.png'&lt;br&gt;			}).inject(choice);&lt;br&gt;			new Element('span', {'html': this.markQueryValue(token)}).inject(choice);&lt;br&gt;			choice.inputValue = token;&lt;br&gt;			this.addChoiceEvents(choice).inject(this.choices);&lt;br&gt;		}&lt;br&gt;	});&lt;br&gt;});&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">ivan</dc:creator><pubDate>Wed, 29 Jul 2009 11:15:24 -0000</pubDate></item><item><title>Re: AutoCompleter</title><link>http://digitarald.de/project/autocompleter/#comment-13534827</link><description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;have made the same experience today. The example still isn't fixed:-(&lt;br&gt;Anyway: You've done a great job, thank you!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sven</dc:creator><pubDate>Wed, 29 Jul 2009 10:47:58 -0000</pubDate></item><item><title>Re: AutoCompleter</title><link>http://digitarald.de/project/autocompleter/#comment-12418967</link><description>&lt;p&gt;Thank you very much for this.... You just made my day.. Was struggling to get it to work, but it looks so nice and cool now... Thank you again :)&lt;br&gt;Zoran from Macedonia&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Zoran</dc:creator><pubDate>Thu, 09 Jul 2009 22:44:43 -0000</pubDate></item><item><title>Re: AutoCompleter</title><link>http://digitarald.de/project/autocompleter/#comment-12254869</link><description>&lt;p&gt;Excellent work here!&lt;/p&gt;&lt;p&gt;Wow, I am liking this functionality big time.&lt;/p&gt;&lt;p&gt;Only issue, and others in this thread are requesting this feature, is how to integrate with a select list instead of a text input field?&lt;/p&gt;&lt;p&gt;I'm going to rig my app to populate a select list on user selection of the typed ahead text, but would be much cleaner to have everything happen in one field (and set the select list value to the ID of the found search term and the display as the search term)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jakso</dc:creator><pubDate>Tue, 07 Jul 2009 10:33:40 -0000</pubDate></item><item><title>Re: AutoCompleter</title><link>http://digitarald.de/project/autocompleter/#comment-12043631</link><description>&lt;p&gt;Hi many thanx for your explanation...and i would like to ask if you could help me with something...How can i use this script for multiple input fields, each one of them will be using different tables of my database, like product name, brand etc...please help me guys...&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Plauto Rafael</dc:creator><pubDate>Thu, 02 Jul 2009 15:30:07 -0000</pubDate></item><item><title>Re: AutoCompleter</title><link>http://digitarald.de/project/autocompleter/#comment-12024169</link><description>&lt;p&gt;super work . thanks for sharing &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">baaalji</dc:creator><pubDate>Thu, 02 Jul 2009 03:55:01 -0000</pubDate></item><item><title>Re: AutoCompleter</title><link>http://digitarald.de/project/autocompleter/#comment-12024163</link><description>&lt;p&gt;super work . thanks for sharing &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">baaalji</dc:creator><pubDate>Thu, 02 Jul 2009 03:54:14 -0000</pubDate></item><item><title>Re: AutoCompleter</title><link>http://digitarald.de/project/autocompleter/#comment-11662052</link><description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;Very good work, thanks for sharing.&lt;/p&gt;&lt;p&gt;I think your example is not totally correct. The 'url' param is not supposed to be in the options but the second argument of your constructor...&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">maxbow</dc:creator><pubDate>Wed, 24 Jun 2009 02:50:08 -0000</pubDate></item><item><title>Re: AutoCompleter</title><link>http://digitarald.de/project/autocompleter/#comment-11652038</link><description>&lt;p&gt;Ah, Clientcide skip the IE issue by changing the interaction - the choices only blur if you *click* outside them.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">dissolute</dc:creator><pubDate>Tue, 23 Jun 2009 19:53:51 -0000</pubDate></item><item><title>Re: AutoCompleter</title><link>http://digitarald.de/project/autocompleter/#comment-11547229</link><description>&lt;p&gt;addendum, the Clientcide version definitely fixes the IE Scrollbar issue, but it's not because they use IframeShim for OverlayFix (although it might be...)&lt;/p&gt;&lt;p&gt;Now all I need to do is make Observer skip over list items that I've applied the choiceHead class to and I'm done!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">dissolute</dc:creator><pubDate>Mon, 22 Jun 2009 02:05:06 -0000</pubDate></item><item><title>Re: AutoCompleter</title><link>http://digitarald.de/project/autocompleter/#comment-11034258</link><description>&lt;p&gt;I'm building an Apple-style interface with this, with Featured results mixed with organic term suggestions. It works a treat except that it miscalculates the height of the block, as the feature results have and extra line of description. I can't work out where to fix it as the height seems to be based on the bottom of the container once built.&lt;/p&gt;&lt;p&gt;My boss just asked me if I could make the "best bets" and "suggestions" sit side by side but when I did it with floated lists and a customChoices, the placement of the dropdown screwed up.&lt;/p&gt;&lt;p&gt;BTW, I too have noticed the IE6/7 problem with the scrollbar (I turned overflow to false to "solve" it), I was considering extending the duration or playing with the Z-index to fix but haven't had much luck yet.&lt;/p&gt;&lt;p&gt;I'll post my code when it's bedded down and working.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">dissolute</dc:creator><pubDate>Wed, 17 Jun 2009 02:21:23 -0000</pubDate></item><item><title>Re: AutoCompleter</title><link>http://digitarald.de/project/autocompleter/#comment-11003173</link><description>&lt;p&gt;it took for me 5 hours to figure that out :S&lt;br&gt;	lol = new Autocompleter.Local('category', maincategories, {&lt;br&gt;		'minLength': 0,&lt;br&gt;		'overflow': true,&lt;br&gt;		'filterSubset': true,&lt;br&gt;		'zindex': 50000&lt;br&gt;	});&lt;/p&gt;&lt;p&gt;the important is set minLength to 0!&lt;/p&gt;&lt;p&gt;and your textfield:&lt;br&gt; &amp;lt;input id="category" name="category" type="text" onfocus="javascript:if(this.value=='') {lol.observer.onFired();}"/&amp;gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Szotyi</dc:creator><pubDate>Tue, 16 Jun 2009 14:31:33 -0000</pubDate></item><item><title>Re: AutoCompleter</title><link>http://digitarald.de/project/autocompleter/#comment-9823305</link><description>&lt;p&gt;How I can display the autocomplete when the user is focused on the input element.&lt;br&gt;Ex: if user focus the mouse over the input element, i want to display autocomlpte with all options listed. (for local autocomlpete)&lt;br&gt;Are here any method for this?&lt;br&gt;Thanks.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">multeek</dc:creator><pubDate>Sat, 23 May 2009 07:22:59 -0000</pubDate></item><item><title>Re: AutoCompleter</title><link>http://digitarald.de/project/autocompleter/#comment-9325785</link><description>&lt;p&gt;hi,&lt;/p&gt;&lt;p&gt;im having also problems with the encoding using Autocompleter.Request. I've a input text that sends the value for example látex  (acute). Then i receive in my java servlet the parameter value  l├ít , what its wrong (some king of codec error).&lt;/p&gt;&lt;p&gt;As i read above, with Autocompleter, its seems to reach to the destination request the parameters in UTF-8, but using conversion to ISO-8859-1 (  new String(value.getBytes("ISO-8859-1"), "UTF-8")   ) also dosnt work. Can anyone help me with this?&lt;/p&gt;&lt;p&gt;windows xp - firefox 3.0.10 - mootools 1.2.2 - autocompleter 1.1.2&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Alberto V.</dc:creator><pubDate>Thu, 14 May 2009 10:30:53 -0000</pubDate></item><item><title>Re: AutoCompleter</title><link>http://digitarald.de/project/autocompleter/#comment-9273157</link><description>&lt;p&gt;What was handy for me was adding a supply function for additional get parameters, so we could make easily make the choices depend on radio buttons etc.&lt;/p&gt;&lt;p&gt;In query function of Autocompleter.Request we changed the end to&lt;/p&gt;&lt;p&gt;var d = new Hash(data);&lt;br&gt;if (this.options.supplyFunc != null) d.combine(this.options.supplyFunc());&lt;br&gt;this.request.send({'data': d});&lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Mathias</dc:creator><pubDate>Wed, 13 May 2009 03:44:08 -0000</pubDate></item><item><title>Re: AutoCompleter</title><link>http://digitarald.de/project/autocompleter/#comment-8720803</link><description>&lt;p&gt;Thanks for the hint, just fixed it.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">digitarald</dc:creator><pubDate>Mon, 27 Apr 2009 02:43:37 -0000</pubDate></item><item><title>Re: AutoCompleter</title><link>http://digitarald.de/project/autocompleter/#comment-8696266</link><description>&lt;p&gt;looks like it's broken, probably your script link to mootools.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">dude</dc:creator><pubDate>Sat, 25 Apr 2009 23:31:10 -0000</pubDate></item><item><title>Re: AutoCompleter</title><link>http://digitarald.de/project/autocompleter/#comment-8603621</link><description>&lt;p&gt;I had the problem with russian letters. The page was in windows-1251 encoding. And the script received value in utf-8 encoding. I used this Perl code:&lt;/p&gt;&lt;p&gt;Encode::from_to($value, 'utf-8', 'windows-1251');&lt;/p&gt;&lt;p&gt;And it worked.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dima</dc:creator><pubDate>Thu, 23 Apr 2009 08:34:48 -0000</pubDate></item><item><title>Re: AutoCompleter</title><link>http://digitarald.de/project/autocompleter/#comment-8579225</link><description>&lt;p&gt;&lt;strong&gt;Support and discussions moved to &lt;a href="http://digitarald.de/forums/" rel="nofollow noopener" target="_blank" title="http://digitarald.de/forums/"&gt;http://digitarald.de/forums/&lt;/a&gt;&lt;/strong&gt;. If you already commented it here, please repost your question or bug report in the forum to get support.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">digitarald</dc:creator><pubDate>Wed, 22 Apr 2009 14:10:47 -0000</pubDate></item><item><title>Re: AutoCompleter</title><link>http://digitarald.de/project/autocompleter/#comment-8571650</link><description>&lt;p&gt;It's awesome, thank you very much for developing the plugin.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Pepe Bondiola</dc:creator><pubDate>Wed, 22 Apr 2009 11:18:28 -0000</pubDate></item><item><title>Re: AutoCompleter</title><link>http://digitarald.de/project/autocompleter/#comment-8309985</link><description>&lt;p&gt;Hi Marc,&lt;/p&gt;&lt;p&gt;Enabling the tab key is fairly simple. In the onCommand definition just change:&lt;/p&gt;&lt;p&gt;   case 'enter':&lt;/p&gt;&lt;p&gt;to&lt;/p&gt;&lt;p&gt;   case 'enter': case 'tab':&lt;/p&gt;&lt;p&gt;and similarly remove the case 'tab' for the hideChoices() a few lines further down.&lt;/p&gt;&lt;p&gt;Cheers,&lt;br&gt;Ben&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ben</dc:creator><pubDate>Fri, 17 Apr 2009 18:49:32 -0000</pubDate></item><item><title>Re: AutoCompleter</title><link>http://digitarald.de/project/autocompleter/#comment-8268954</link><description>&lt;p&gt;I'm having issues with the horizontal scroll bar in Safari. When the resulting text is longer than the set width, the horizontal scroll bar appears. When using Firefox, I can scroll left/right using the mouse w/o any issues. However, when I use Safari the script doesn't realize that I'm still in the container and my choices are hidden (like I clicked somewhere else on the page) . Any ideas how to fix this so I can use the horizontal scroll bar when viewing results in Safari? I'm using the 1.1.1 version, will upgrading fix this?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Chris</dc:creator><pubDate>Thu, 16 Apr 2009 14:56:07 -0000</pubDate></item><item><title>Re: AutoCompleter</title><link>http://digitarald.de/project/autocompleter/#comment-8190050</link><description>&lt;p&gt;Yeah. I'd like to know if digitarald got a solution for this, just like he said in his reply for CroNiX. Is it possible that AutoCompleter works with a select instead of an input? It would be awesome. Thanks. &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Habib Asseiss Neto</dc:creator><pubDate>Tue, 14 Apr 2009 07:29:23 -0000</pubDate></item><item><title>Re: AutoCompleter</title><link>http://digitarald.de/project/autocompleter/#comment-8189909</link><description>&lt;p&gt;Hmm, this comment was ment for CroNiX...&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">elguapo09</dc:creator><pubDate>Tue, 14 Apr 2009 07:14:44 -0000</pubDate></item><item><title>Re: AutoCompleter</title><link>http://digitarald.de/project/autocompleter/#comment-8189895</link><description>&lt;p&gt;Could you send it to me too?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">elguapo09</dc:creator><pubDate>Tue, 14 Apr 2009 07:12:21 -0000</pubDate></item></channel></rss>