WoW Insider: Now with Wowhead tooltips

Eliah Hecht
E. Hecht|11.23.07

Sponsored Links

Eliah Hecht
November 23rd, 2007
In this article: items, links, tooltips, wowhead
WoW Insider: Now with Wowhead tooltips
The more observant among you may have noticed something neat happen to the site over the past few days: all item links that point to Wowhead now have tooltips! In case you hadn't noticed, here are a few examples:
That should save some people a click or two, and more importantly, it looks cool (in my opinion, anyway). And the most exciting part is that this is really easy to get going on your own site. All you have to do is include this one line anywhere in the page:

<script src="http://www.wowhead.com/widgets/power.js"></script>

That's it! Now all Wowhead item links have tooltips.

If you want to jazz the links up a little by making them show up in the appropriate color, you can put "class=q#" in the <a> tag, where # is the number of the quality level of the item: 5 for legendary, 4 for epic, and so on down the scale. As an example, the code for the Arcanite Steam Pistol link above looks like this:

<a class="q4" href="http://www.wowhead.com/?item=29949">Arcanite Steam Pistol</a>

But your tooltips will still work if you don't want to bother with the class attribute; the links will just all be the same color. Now you too can be powered by Wowhead!
All products recommended by Engadget are selected by our editorial team, independent of our parent company. Some of our stories include affiliate links. If you buy something through one of these links, we may earn an affiliate commission.
Popular on Engadget