1) Script Title:
Speech Bubbles Tooltip
2) Script URL (on DD):
http://www.dynamicdrive.com/dynamici...lestooltip.htm
3) Describe problem:
(a) This first comment is not a problem - merely some information. My reference anchor (to which I wanted to apply the speechbubble) was a tweet link which already had a class attribute ("twitter-share-button"), and I found that adding the addspeech class to that attribute did not work. So I wrapped the reference anchor with <p> tags (which I wanted to do anyway), and applied the addspeech class to the <p> wrapper. Works fine, but I had to remember to change, in the calling javascript:
$('a.addspeech').speechbubble
to
$('p.addspeech').speechbubble
(b) In defining the content of the speechbubble, I used Method 1, with the simple title attribute. I would have preferred to use the speechdata.txt Method 2, but the 'rel' attribute is not recognised as valid in html5. (Although it does validate in html4 strict.) Is there an alternative to 'rel'?
Btw, great script, and here's my speechbubble application:
http://www.clag.org.uk/beam.html



Reply With Quote

Bookmarks