Tooltips For Your Website
Information
It's never been easier to add Cavern of Time tooltips to your website
<script type="text/javascript" src="http://cdn.cavernoftime.com/api/tooltip.js"></script>
Customization
Automatic renaming, quality colors, color overrides to match your website and icons
<script>
var CoTTooltips = {
/* Enable or disable the rename of URLs into item, spell and other names automatically */
rename: true,
/* Enable or disable icons appearing on the left of the tooltip links. */
icons: true,
/* Overrides the default icon size of 15x15, 13x13 as an example, icons must be true */
iconsize: 15,
/* Enable or disable link rename quality colors, an epic item will be purple for example. */
qualitycolor: true,
/* TBA */
forcexpac: { },
/* Override link colors, qualitycolor must be true. Example: spells: '#000' will color all renamed spell links black. */
overridecolor: {
spells: '',
items: '',
npcs: '',
objects: '',
quests: '',
achievements: ''
}
};
</script>
Usage
Adding any links to your website that are supported will generate a tooltip on mouseover
<a href="http://wotlk.cavernoftime.com/item=19019">Thunderfury, Blessed Blade of the Windseeker</a>
<a href="http://cata.cavernoftime.com/item=61340">Vicious Gladiator's Pike</a>
<a href="http://mop.cavernoftime.com/item=102245">Qian-Le, Courage of Niuzao</a>