I'd like to use this tooltip thing with HTML content.
I need several tooltip on a page.
So i have 2 problems.
1) I copied the pure code to localhost from here, and it works:
http://flowplayer.org/tools/demos/tooltip/any-html.htm
(after i rewrote the background image url to absolute).
Ok, now i just placed the trigger into a div or a paragraph.
And tooltip never appear again. It's a problem, because my content come from CMS. Why is it.
The second problem:
I would like more tooltips, but not from title tags, but html content:
I tried to use this code:
<!-- trigger element. a regular workable link -->
<a id="download_now" title="System tooltip for search engines">Download now</a><br><br>
<a id="my_tooltip" title="System tooltip for search engines">Download now</a>
<!-- tooltip element -->
<div class="tooltip">
1st tooltip
</div>
<div id="mytip" class="tooltip">
2nd tooltip
</div>
<script>
// What is $(document).ready ? See: http://flowplayer.org/tools/using.html#document_ready
$(document).ready(function() {
// enable tooltip for "download" element. use the "slide" effect
$("#download_now").tooltip({ effect: 'slide'});
$("#my_tooltip").tooltip({ effect: 'slide', tip: 'mytip'});
});
</script>
Just copied the CSS and renamed, but neither the default tooltip and mytip doesn't show.
How can i use multiplie tooltip on a page?
