New FFXIAHify.js

Language: JP EN DE FR
users online
Forum » FFXIAH.com » News » New FFXIAHify.js
New FFXIAHify.js
 Fenrir.Scragg
Administrator
Offline
Server: Fenrir
Game: FFXI
user: Scragg
Posts: 2579
By Fenrir.Scragg 2011-07-14 13:07:29
Link | Quote | Reply
 
You only need to include this tag on your site.
Code
<script type=text/javascript src=http://api.ffxiah.com/core/?load=/js/lib/AH.js></script>


I changed FFXIAHify.js, the tooltip maker for those that don't know. You can include on any site and will give tooltips to links like:

<a href=http://www.ffxiah.com/item/#####></a> or
<a href=http://www.ffxiah.com/item.php?id=#####></a> (depreciated but still works)

Changes Include

- Support for EN/JP tooltips, depends if the URL is linked to jp.ffxiah.com or not.
- Support for FFXIVPro items.
- Loads tooltip data when the mouse over occurs. Before the script would preload all the tooltips on the entire page. As a side effect, you will see "Loading..." sometimes.
- When using the above link, which I call the loader, will include the version number in the URLs automatically to avoid browser cache issues when changes are made.
- Existing calls to the old script will eventually be redirected to the new one.

Examples:

http://www.ffxiah.com/item/17073/mistilteinn
http://jp.ffxiah.com/item/17073/ミステルテイン
http://www.ffxivpro.com/item/4100202/vintage-kite-shield

Any issues or questions can be posted in this thread.
[+]
 Carbuncle.Tweeek
Offline
Server: Carbuncle
Game: FFXI
user: Tweeek
Posts: 732
By Carbuncle.Tweeek 2011-07-14 13:22:54
Link | Quote | Reply
 
is this a possible source for some of the tool-tip lag as of late? If it is sounds like this is worth it imo
 Fenrir.Scragg
Administrator
Offline
Server: Fenrir
Game: FFXI
user: Scragg
Posts: 2579
By Fenrir.Scragg 2011-07-14 13:30:14
Link | Quote | Reply
 
Carbuncle.Tweeek said:
is this a possible source for some of the tool-tip lag as of late? If it is sounds like this is worth it imo

In short, the lag lately was likely a result of me changing it. There was a design flaw that occurred when you suddenly stop on a link and it will say "Loading" until you move the mouse again. That should be fixed. The initial tip might be longer than the rest because of DNS resolve/connection time with the server. Everything is very responsive for me, but I get a 2ms ping to my server.
 Quetzalcoatl.Sammitch
Offline
Server: Quetzalcoatl
Game: FFXI
user: Sammitch
Posts: 47
By Quetzalcoatl.Sammitch 2011-07-14 13:32:29
Link | Quote | Reply
 
Nice work, and holy crap do the FFXIVpro tooltips look nice.
[+]
 Valefor.Prothescar
Guide Master
Offline
Server: Valefor
Game: FFXI
Posts: 19647
By Valefor.Prothescar 2011-07-14 13:48:56
Link | Quote | Reply
 
This is an awesome feature, actually have been hoping for something like it for a while. Thanks!
necroskull Necro Bump Detected! [104 days between previous and next post]
 Shiva.Maahes
Offline
Server: Shiva
Game: FFXI
user: Maahes
Posts: 20
By Shiva.Maahes 2011-10-26 04:50:29
Link | Quote | Reply
 
Good Morning.

Just found this and wondered if this still works ? I tried implementing it but get nothing.

before i start debugging my site just wanted to check that this is still valid info as I been looking for a way to do this for a while :)

ta
Log in to post.