php - display tooltip on hover over text -


How do I go about displaying tooltips when a user overcomes some text? These text keywords are I do not want to add these tooltips manually for each keyword To do this automatically on client side or server side, I'm looking for a way to create some kind of script I am When a user enters these keywords, and the keyword is present in the database or in an array, then it should get information from the database.

Please tell me how to solve any good tutorial this problem.

There are many useful plugins for creating good tooltips.

I know two of those who use the framework:

  • MB-Tooltip : [
  • < Strong> jquery-plugin-tooltip : [

You have to surround your keywords to apply a span element and a selector to the jQuery selector. It may be that it is better to query the keyword presence server-side to create ad-hoc HTML code for displaying the right tooltips, otherwise you have to make tooltip in AJMAG manner, to handle mouse hover events on the keyword.


Comments

Popular posts from this blog

paypal - How to know the URL referrer in PHP? -

oauth - Facebook OAuth2 Logout does not remove fb_ cookie -

wpf - Line breaks and indenting for the XAML of a saved FlowDocument? -