Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>It's just </p> <p><a href="http://docs.jquery.com/Plugins/autocomplete" rel="nofollow">http://docs.jquery.com/Plugins/autocomplete</a> </p> <p>with some CSS features. You can use <code>Chrome &gt; Inspector</code> to see what kind of styles they added to create such UI l&amp;f</p> <p><b>Edit</b></p> <p>Basically it's hover binding in jquery</p> <p><code>$("li").hover(fn);</code></p> <p>and in this example (wowhead.com) they call a link which is part of autocomplete div</p> <pre><code>&lt;div class="live-search-icon" style="background-image: url(http://static.wowhead.com/images/wow/icons/small/inv_misc_head_dragon_black.jpg); "&gt; &lt;div&gt; &lt;a href="/item=19003" class=" q4"&gt; &lt;i&gt;Item&lt;/i&gt; &lt;span&gt;Head of Nefarian&lt;/span&gt; &lt;/a&gt; &lt;/div&gt; &lt;/div&gt; </code></pre> <p>and jquery does an <code>.ajax()</code> call to url like this: <code>/item=19003&amp;power</code></p> <p>returned data are in json</p> <pre><code>$WowheadPower.registerItem('18422', 0, { name_enus: 'Head of Onyxia', quality: 4, icon: 'INV_Misc_Head_Dragon_01', tooltip_enus: '&lt;table&gt;&lt;tr&gt;&lt;td&gt;&lt;b class="q4"&gt;Head of Onyxia&lt;/b&gt;&lt;br /&gt;&lt;!--bo--&gt;Binds when picked up&lt;br /&gt;Unique&lt;br /&gt;&lt;a href="/quest=7490" class="q1"&gt;This Item Begins a Quest&lt;/a&gt;&lt;br /&gt;Requires Level 60&lt;br /&gt;Item Level 60&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;table&gt;&lt;tr&gt;&lt;td&gt;&lt;span class="q"&gt;&amp;quot;The head of the Black Dragonflight\'s Brood Mother&amp;quot;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;' }); </code></pre> <p>and they are displayed in div, positioned relative to mouse pointer position</p> <p>i didn't extracted exact code, but it is possible, their <code>.js</code> files are only compressed, not obfuscated</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload