Sign Up! Login: Password: New User? Forgot? Support
Code 
 
 
Forums 
Forums : Tooltips & Popups > Tooltips (EQ, EQ2, FFXI, LotR, WAR, WoW)
Mottie (SuperAdmin) 2/21/2009 10:03 AM EST : Tooltips (EQ, EQ2, FFXI, LotR, WAR, WoW)
ACK!
Mottie
Posts: 3883

0
Like

0
Dislike

Adding an Allakhazam tooltip script

GuildPortal admin site link to the original post


This information is from the tooltip page on Allakhazam. It allows you to have tooltips for Everquest, Everquest II, Final Fantasy XI, Lord of the Rings Online, Warhammer Online and World of Warcraft.

Paid site
It would be easiest to add this line into your Banner Area (Control Panel > Custom Code > Banner HTML)

<script type="text/javascript" src="http://common.allakhazam.com/shared/akztooltip.js"></script>

Free site
Since it appears (or maybe it's just me) that you can't get to the footer from the "Style & Colors" link anymore, it might be better to add this line into the Custom jQuery Code box (Control Panel > Custom Code > Custom JQuery). Add the code in blue into the appropriate boxes, check the Enabled box, then Save:
  • Document.Ready Event Code:
    return

  • Functions:
    </script><script type="text/javascript" src="http://common.allakhazam.com/shared/akztooltip.js">
*WARNING* There must be code in both the "Document.Ready Event Code" and "Functions" boxes or you will get a blank page when you reload. And yes, the script in the functions box looks reversed, but that's the way to get it to work properly.

Examples
How to make the links work

The script looks for the url in the href part of the link, so make sure that the link is correct.
  • Find the item on Allakhazam that you want to link
  • Copy (Ctrl-C) the URL from the browser and paste it into your forum post or content box editor
  • Copy (Ctrl-C) the code below and paste it into your forum post or content box editor

    <a href="http://war.allakhazam.com/db/item.html?waritem=402307">Purloined Gown</a>

  • Replace the code in orange with the URL of the item you just saved
  • Replace the code in green with the name of the item
  • Save the forum post or content box data.
The script from Allakhazam automatically adds the tooltips from here so there's nothing else you need to do.

Edit (2/27/2009): Updated Control Panel paths
    Characters: Mottie Motty Mortie Ooshiny Mot Fudgems
    TopBottom

    Mottie (SuperAdmin) 7/16/2009 5:00 PM EST : RE: Tooltips (EQ, EQ2, FFXI, LotR, WAR, WoW)
    ACK!
    Mottie
    Posts: 3883

    0
    Like

    0
    Dislike

    I didn't notice this until today, but this script was preventing myforum page from loading properly in IE (I only have this script on myforum's page).
    <script type="text/javascript" src="http://common.allakhazam.com/shared/akztooltip.js"></script>   <- NO LONGER SUPPORTED!
    I replaced it with the newer zam power script and I still had the same problem... so I'm removing the script for now.
     <script type="text/javascript" src="http://common.zam.com/shared/zampower.js"></script> <- Supported Script, but it's still not working for me
    Characters: Mottie Motty Mortie Ooshiny Mot Fudgems
    TopBottom

     
     
    Key 
    New posts No new posts
    New posts ( popular ) No new posts ( popular )
    New posts ( sticky ) No new posts ( sticky )
    New posts ( locked ) No new posts ( locked )
     
     
    Who's Online 
    There are   members online.
     
     
    So-and-so has logged on!
    %title%
    %message%