Jump to content

info from mysql in js tooltip box


hbla

Recommended Posts

Hi

 

I just know enough Javascript to understand that I need it for this nice problem. I have a site that draws links from my database. Those links are stored with some other information about the websites they link to, say a description.

 

What I'm looking for is a javascript that shows tooltip-boxes on a mouseover. When the mouse is on an item in my list of hyperlinks, it should show a nice box with the description from the database.

 

I've seen plenty of tooltips script, but not one that pulls the info from a database (yet). Can anyone point me to a script?

 

thnx

Henk

Link to comment
https://forums.phpfreaks.com/topic/167475-info-from-mysql-in-js-tooltip-box/
Share on other sites

Well it should be fairly easy to modify an existing tool-tip script to use some AJAX to load the text from the database. That is, of course, assuming you're familiar with AJAX. If not, then I'd suggest you either start with some basic tutorials or search for AJAX-based tool-tips.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.