Tooltips for your site

Add one line to your site, and any link to an item or spell on WarcraftMaps shows the in-game tooltip when a reader hovers it.

Add the script

Paste this once, before </body>:

<script src="https://warcraftmaps.com/tooltips.js" defer></script>

That is all. There is no key and no sign-up.

Link as usual

The script finds ordinary links. Copy the address from any item, spell, recipe, zone, quest or NPC page:

<a href="https://warcraftmaps.com/item/19019">Thunderfury</a>

Links added to the page later work too, so it fits forums and comment sections.

Try it

Hover these links: Thunderfury, Major Healing Potion, Fireball.

Options

Set thisWhat it does
data-no-tooltip on a linkSkips that one link
data-icons="false" on the scriptHides the icon beside the tooltip

What it does on your page

The script is small and has no dependencies. It draws the tooltip in its own shadow box, so your styles and ours don't touch. It only runs on hover or keyboard focus, and it doesn't change your links. On a touch screen a tap just opens the link.

It uses no cookies, stores nothing and does not track your readers. When someone hovers a link, their browser asks this site for that tooltip. See privacy.

Please keep in mind

  • Game data, text and icons belong to Blizzard Entertainment. The tooltip shows that credit in its small print.
  • Data is read from the game files.
  • If this script ever stops working, your links still work as plain links.