Hello,
I've found this beautiful js, but it does seems to not work correctly if it is not included at the bottom of the page.
In our work it would be a problematic change to do this. Is there a way to make it work while including it in the head part of the html?
Regards
Andrea Grassi
Hi a.grassi
I'll be updating the documentation soon with instructions for people who including the files at the bottom of the page for isn't practical. If you use qTip at the head of the page, make sure that you only create the tooltips after the document is loaded like so:
JS Code
$(document).ready(function()
{
//Create tooltips and any other DOM manipulation here
});
Hope this helps!
Thank you for your answer. Actually I did found a solution.
The solution was to load the script with $.getScript function of jQuery and adding the call to you qtip in the callback.
If I just used like you did it wasn't working (I was already using .ready method). And if I just include on the bottom of the page it wouldn't load correctly on ie6 (a problem about document.namespace['v'] it seems).
Anyway thank you. the script is wonderful!
a.grassi Wrote:Thank you for your answer. Actually I did found a solution.
The solution was to load the script with $.getScript function of jQuery and adding the call to you qtip in the callback.
If I just used like you did it wasn't working (I was already using .ready method). And if I just include on the bottom of the page it wouldn't load correctly on ie6 (a problem about document.namespace['v'] it seems).
Anyway thank you. the script is wonderful!
Could you elaborate more on the ie6 problem and how to reproduce it? Always nice to iron out bugs.
I'll try to do my best while not working

I'll get back on this topic next days
Hi a.grassi,
The header include issues are now resolved as of beta2, which you can grab right now on the
downloads page.
Thanks for the bug report!