I am having problem with the following JQuery code:
$("object").hover(function(e){
alert('Flash Here');
});
I just want jquery to detect if I hover on top of the flash object.
Here is the flash embed code:
<object classid="clsid:D27CDB6E-AE6D-11CF-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0"
width="320" height="240" quality="HIGH"><param name="movie"
value="test.swf"><param name="quality" value="high">
<embed src="rdream.swf"
quality="high" width="320" height="240" name="Test"
type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">
</object>
I’m not getting the alert as expected.
Try to insert the flash into some block element and hover that instead of the object.