[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):
<!--[if IE]> <!-- prevent activate to click -->
<script type="text/javascript">
$('#introduction').html( $('#introduction').html() );
</script>
<![endif] -->
-- Klaus
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/