Skip to Content

WoW Insider has the latest on the Mists of Pandaria!

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!

Filed under: Items, Tricks

Reader Comments (Page 1 of 1)

WoW Insider Show 

Subscribe via  iTunes for our latest show.

Hot Topics


 

Upcoming Events

Event Date
WoW's 10th Anniversary 11/21 - 1/5
Pilgrim's Bounty 11/24 - 12/1
Darkmoon Faire 12/7 - 12/14
Feast of Winter Veil 12/16 - 1/2

Around Azeroth

Around Azeroth

Featured Galleries

It came from the Blog: Occupy Orgrimmar
Midsummer Flamefest 2013
Running of the Orphans 2013
World of Warcraft Tattoos
HearthStone Sample Cards
HearthStone Concept Art
Yaks
It came from the Blog: Lunar Lunacy 2013
Art of Blizzard Gallery Opening

 

Categories