How to get the click event on sIFR embedded tag in

2019-07-15 19:25发布

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?

2条回答
够拽才男人
2楼-- · 2019-07-15 19:25

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.

查看更多
淡お忘
3楼-- · 2019-07-15 19:26

It might also be worth checking out cufón at http://cufon.shoqolate.com/generate/

查看更多
登录 后发表回答