72882

How to get the click event on sIFR embedded tag in IE?

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?

Answer1:

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.

Answer2:

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

Recommend

  • actionscript 3.0 transparent image floodfill
  • Botframework - resize bot chat in width [duplicate]
  • Why are views not counted if you embed a youtube iframe dynamically using jquery?
  • Problem in Loading xml from specified url using javascript in FF & Google Chrome
  • MySQL multiple IN conditions to subquery with same table
  • Is there a way to clone native functions in javascript like window.alert or document.write
  • Why people use prototype in javascript when it is easy to inherit using apply () and call () methods
  • Is it possible to get the word under the mouse cursor in a ``?
  • BeautifulSoup difference between findAll and findChildren
  • How to load gif image while ajax content is loading and javascript [duplicate]
  • NHibernate manually control fetching
  • Programmatically access files in Document set in sharepoint using Javascript
  • didUpdatePushCredentials not get called
  • Defined variables not working in javascript files when I use getScript
  • Subclassing QGraphicsItem prevents me from being able to use itemAt() on a QGraphicsScene/View
  • Selenium to click on a javascript button corresponding to a text
  • Execute scripts AJAX returns
  • How to use JavaScript to determine whether a file exists in a directory?
  • Detect when Facebook like button is clicked
  • d3 v4 drag and drop with TypeScript
  • JQuery Internet Explorer and ajaxstop
  • Functions in global context
  • Chrome doesn't support silverlight anymore? How to solve this?
  • FileReader+canvas image loading problem
  • Display issues when we change from one jquery mobile page to another in firefox
  • Ajax jQuery multiple calls at the same time - long wait for answer and not able to cancel
  • Opengl-es onTouchEvents problem or a draw problem? [closed]
  • ILMerge & Keep Assembly Name
  • Large data - storage and query
  • jquery mobile loadPage not working
  • WOWZA + RTMP + HTML5 Playback?
  • Compare two NSDates in iPhone
  • Data Validation Drop Down Box Arrow Disappearing
  • How to include full .NET prerequisite for Wix Burn installer
  • How do you join a server to an Active Directory (domain)?
  • Linking SubReports Without LinkChild/LinkMaster
  • Binding checkboxes to object values in AngularJs
  • Net Present Value in Excel for Grouped Recurring CF
  • jQuery Masonry / Isotope and fluid images: Momentary overlap on window resize
  • How to load view controller without button in storyboard?