I am not very good at javascript, jQuery or plugins, but I usually succeed. In any case, my client is building a site, and one of his goals is to collect news articles from different sites and show headings in unordered html lists. I donβt have access to his code, news articles load quite slowly (a lot after loading the site).
I use qTIP, and the idea is that after you hover over the headline of the news, it will create a tooltip. This works fine in my dev environment, because I have a dummy header that is not generated anywhere.
The problem is that after the client installs the site in their test environment, the scripts that load news headlines into lists are so slow that they load a qTIP script before any items appear in the lists. Therefore, he is not aware of any <li> for collecting and creating tooltips.
Is there a way to make sure ALL news articles are loaded before the tooltip - script loads? I think the simple delay in loading the script is not very smart, because some of the names take longer than others, so the delay should be quite long.
javascript jquery dom jquery-plugins qtip
msvalkon
source share