Image and Hovercards


#1

Any chance for a @anywhere Hovercards example on an image mouseover?Have tried using “@” in the title attr of img with no luck.


#2

It sounds like you want to specify a username param/function when executing the hovercards function. If you put the username in an ALT attribute, you could use a snippet somewhat like this to accomplish that.

twttr.anywhere(function (T) { T("#section>img").hovercards({ username: function(node) { return node.alt; } }); });

#3

It worked out of the box.
Using the username: parameter and specifying the selector in the twittr function worked for me with the desired result.
Thank you for your great response!


#4

#5