- Create Account

External files with tooltips

Forums > Tipster > External files with tooltips
Author
Message

1) tom Group: Guests
IP: 80.218.--.--
Hello

I would like to know if it's possible to load a "external" file with the "tip-text" on mouseover.

i have around 500 tooltips (0.5-1kb!/each) on one page (i.e. mainpage.html).
i would like to save the tooltips just for example as tipp1.html, tipp2.html ... tipp500.html

if  i put the tipps directly in mainpage.html it will loading very slow, so it will be better to wait a second for each tipp to be loaded and only if needed (mouseovered).

is  it possible?

many thanx
tom

2) Angus Turnbull Group: Moderators
Posts: 4235 Joined: 7 Dec 2003 Location: New Zealand IP: 192.188.--.--
Perhaps re-think the number of tips as that's a heck of a lot. Alternatively, I imagine lots of tips have similar content in them -- try and find a way of programmatically generating them?

You could conceivably put an IFRAME in each tip pointing at your external file, that might work, however it would probably refresh the tip document each time it was displayed unless you put some cache-control headers in there.

Good luck - Angus.

3) tom Group: Guests
IP: 80.218.--.--
Hi angus

i need at least 500 of them on each page..it's only for my admin area with a list of all sent messages..so i can mouseover each item to see the complete content of the message in the tooltipp popup.. to look if it's spam like "wow gold"..bad story:(

iframe do it may way:-)
thank you very much for the tipp
tom

Post a Reply:

You are not logged in, and will be posting anonymously as a guest. If you want to post using an account, please login at the top of this page.