Contents [hide] |
It is now possible to provide mouseovers (tooltips) for items on Allakhazam's sites for:
To do so, simple add the following html to your site:
<script type="text/javascript" src="http://common.allakhazam.com/shared/zampower.js"></script>
Previous instructions said to use akztooltips.js instead of zampower.js. Both filenames will work but zampower.js is the canonical filename.
The best placement for this is right before the </body> tag. Anywhere inside <body></body> will work, though.
Guild/Linkshell/Kinship websites and forums as well as other sites who provide news for the games that tooltips support but don't have item data. It isn't limited to that, though. Anyone is welcome to link to our items and have have our tooltips displayed as a mouseover.
To use the game id/lucy id for a tooltip instead of the allakhazam id simply add source=lucy
By adding the script tag above, each page with the tag added will check the html in the page it is displaying. When it detects a link to an allakhazam item that we display mouseovers for, your site will automagically display them.
You can still style your links however you wish. All the script cares about is the contents of the href portion of the a tag.
ToolTips also support locales for World of Warcraft. Simply make sure that your locale is in the url.
Example: http://wow.allakhazam.com/db/item.html?witem=30863;locale=deDE
Please direct any feedback or comments to the thread in our Feedback Forum
|