views:

586

answers:

2

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  A: 

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.

Mark Wubben
A: 

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

Marco