问题
I have implemented Scalable Inman Flash Replacement (sIFR) to convert text. The issue is, I'm unable to do onClick
event over the iSFR embed tags.
$(function() {
$("embed").click(function(){
alert('clicked over embed');
});
});
This works in Firefox but not in Internet Explorer. Can anybody help me?
回答1:
Flash movies tend to eat these events.
sIFR 3 lets you specify an onRelease
callback handler in the sIFR.replace()
arguments, which is called when the Flash movie is clicked on.
回答2:
It might also be worth checking out cufón at http://cufon.shoqolate.com/generate/
来源:https://stackoverflow.com/questions/801642/how-to-get-the-click-event-on-sifr-embedded-tag-in-ie