[jQuery] Oneliner to prevent click-to-activate (EOLA) in IE
Say you have a flash movie embedded in a container with the id "introduction". To prevent activate to click in IE, do this: $('#introduction').html( $('#introduction').html() ); I love jQuery. It lets me embed my flash standards compliant and saves me some kilobytes for the swfobject js... To be as fast as possible I put the following snippet immediatly after the flash (as an exception I don't care for unobtrusiveness here): $('#introduction').html( $('#introduction').html() );
[jQuery] Oneliner to prevent click-to-activate (EOLA) in IE
Say you have a flash movie embedded in a container with the id "introduction". To prevent activate to click in IE, do this: $('#introduction').html( $('#introduction').html() ); I love jQuery. It lets me embed my flash standards compliant and saves me some kilobytes for the swfobject js... To be as fast as possible I put the following snippet immediatly after the flash (as an exception I don't care for unobtrusiveness here): $('#introduction').html( $('#introduction').html() );