Tooltips

It's never been easier to add Guildhead tooltips to your site.

1. Add this piece of HTML code anywhere on your page:

<script src="http://gh.zamimg.com/tooltips.js"></script>

2. You are done!

Guildhead links found on your site will now sport a tooltip. The following pages are supported: skill, profession, item, npc, recipe.

To have tooltips modify the colors of links on your site and add icons where appropriate place this before the normal tooltip code:
<script>var framehead_tooltips = { "colorlinks": true, "iconizelinks": true }</script>

Only want to do one of those things? Then include just the option you want, like so:

<script>var framehead_tooltips = { "iconizelinks": true }</script>

A full list of options:

  • colorlinks - Color item and recipe links according to their quality. Set to true.
  • iconizelinks - Add small icons to item, recipes, skills, and personal story links. Set to true.
  • renamelinks - Change all Guildhead database links to use the name of what they link to. Set to true. Note that this will even change things like image links to database pages to their respective name.
Once you have the <script> tag added to your site, the following parameters can be used in the data attributes of your links (<a>).

Custom URLs
You can make your links point to any page you wish, and still display a tooltip. Example:

<a href="#" data-guildhead="item=68655">hai</a>

This works with all database types ? items, skills, etc.

Guildhead is the proud provider of database services for the following sites: