Jump to content

Recommended Posts

Hi guys,

 

I have been looking for some tooltip solutions as my client wants a feature where when you hover over the username of a certain member, it will show the relative image and information on that member inside the tooltip, now I have been searching around and simple tooltips seem to be no problem, but pulling out information from a database is another, it seems I have to do this with Ajax, but I don't understand how when hovering over a username, it can grab that username and pull out relative information on that user? Anyone who can explain this process so it is easier for me to grasp, and start building on it?

 

Basically like this : http://rndnext.blogspot.co.uk/2009/02/jquery-ajax-tooltip.html

Although I don't really understand that concept..

 

Much appreciated!

Link to comment
https://forums.phpfreaks.com/topic/261407-jquery-tooltips/
Share on other sites

Basically it is issuing a trigger command to show the pop up when a mouseover is done and there is a valid ID.  Then in the page personajax.aspx it is querying the database for the information.

 

$.ajax({  
54.          type: 'GET',  
55.          url: 'personajax.aspx',  
56.          data: 'page=' + pageID + '&guid=' + currentID,  
57.          success: function(data)  
58.          { 

Link to comment
https://forums.phpfreaks.com/topic/261407-jquery-tooltips/#findComment-1340134
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.