1

Possible Duplicate:
JQuery Show hide class on hover

just like stackoverflow, when you hover on any tag it will load the description and details of that tag. Is there a way i can accomplish this with a javascript plugin like jquery of doing in manually. Any reference would be grate.

0

3 Answers 3

2

clueTip is a good jQuery plugin which provides tooltips with inline and AJAX definitions. For example an AJAX definition can be achieved with this HTML:

<a class="definition" href="link-to-tag.html" rel="ajax.html">tag</a>

And load the jQuery plugin with the following Javascript:

$('a.definition').cluetip();
Sign up to request clarification or add additional context in comments.

2 Comments

in clutip is there a way i can put a loading image to indicate that the request is loading
this is very cool cant wait to start using it
0

If you want to use jQuery there are many plugins and scripts to acheive a similar tooltip effect. One that appears to be quite good can be found here.

5 Comments

i want to load the contents via ajax.
There is no reason you can't load the contents via AJAX... have a look at this page: flowplayer.org/tools/demos/tooltip/any-html.html. You can load content via AJAX into the <div class="tooltip"> when the page loads (or any time you like).
its cool but not as i expected. On stackoverflow it happens when you hover on the tag and you see a loading bar trying to fetch the contents from the database that's what i am talking about. it should try a load the contents first. this is to prevent so many sql queries when the page loads. I need that type in order to prevent so many sql queries
Well it looks like clueTip from your accepted answer is the one for you then!
ok thanks. just wanted to have the best possible approach to it
0

http://www.shahin.co.nr/16-cool-jquery-tooltip-plugins/

http://www.1stwebdesigner.com/css/stylish-jquery-tooltip-plugins-webdesign/

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.