Tools
Tooltips for your site
Link to an item or spell on stillsixty.com and your readers see its tooltip when they hover, tab to or tap the link. One line of HTML, no account, nothing to configure.
Install
Paste this once into your page, anywhere in <head> or before </body>:
<script src="https://www.stillsixty.com/embed/tooltips.js" async></script>That is all: every link to one of our item or spell pages gets a tooltip. Your link text, colours and layout stay as they are unless you ask for names or icons below.
Try it
Hover or tab to these links: Thunderfury, Lesser Heal and your Hearthstone.
With data-ss-rename and data-ss-icon: item 19019, item 2589.
Which links get a tooltip
https://www.stillsixty.com/item/19019- Item page
https://www.stillsixty.com/spell/2050- Spell page (any rank)
https://stillsixty.com/item/19019- Without www
https://www.stillsixty.com/fr/item/19019- Translated pages (/fr, /de, /zh-Hant, /zh-Hans)
Links work with or without a trailing slash, query string or #anchor. Tooltips open after a short hover, straight away on keyboard focus, and close with Esc. On a touch screen the first tap shows the tooltip and a second tap opens the page.
Options
On a link
data-ss-tooltip="item:19019"- Give any element a tooltip, even one that is not a link to us (add tabindex="0" so keyboards reach it).
data-ss-tooltip="off"- No tooltip on this link.
data-ss-rename- Replace the link text with the item or spell name, in its quality colour. Only plain-text links are renamed.
data-ss-icon- Put the 16px icon in front of the link text.
data-ss-color="off"- Keep your own link colour when renaming.
On the script tag
data-ss-root="#content"- Only links inside this element get tooltips.
data-ss-rename / data-ss-icon- Turn renaming or icons on for every link (a link can still say "off").
data-ss-touch="off"- On touch screens, a tap follows the link straight away instead of showing the tooltip first.
<script src="https://www.stillsixty.com/embed/tooltips.js" async data-ss-root="#content" data-ss-icon></script>Single-page apps: hover and focus work on links added later by themselves. Names and icons are applied when the page loads; call refresh() after adding more.
// After your app adds new links to the page:
window.StillSixtyTooltips?.refresh();Content Security Policy
If your site sends a Content-Security-Policy, add these sources to the matching directives. The tooltip needs no inline script or style allowance.
script-src https://www.stillsixty.com
connect-src https://www.stillsixty.com
img-src https://cdn.stillsixty.com https://wow.zamimg.comPrivacy
The script sets no cookies, stores nothing on your readers' devices and sends no analytics. It only asks our server for the item or spell a reader points at, without cookies or credentials. See our privacy policy.