clueTip Plugin Example
Below are quite a few examples of how you can add a clueTip to your page, using a wide range of options. Keep in mind that there is nothing magical about the HTML markup. You can use any jQuery selector you want to attach your clueTips. For example, if you want to attach clueTips to all links with a class of "peanuts," you would simply write in your jQuery code:
$('a.peanuts').cluetip();
.Default Style
- basic tip from title: This example pulls the clueTip's contents from the invoking element's title attribute via the "splitTitle" option.View the HTMLView the jQuery
- basic ajax, with no title attribute: This one requires no options.View the HTMLView the jQuery
- custom width and hidden title bar: This tip has a custom width of 200px. The clueTip title bar (heading) is hidden. Try me!View the HTMLView the jQuery
- sticky, with arrows:This sticky clueTip has its "close" text in the title bar. It won't close until you close it, or until you hover over another clue-tipped link. It also displays an arrow on one of its sides, pointing to the invoking element. sticky clueTip with arrowsView the HTMLView the jQueryClick For DEMO
No comments:
Post a Comment