![]() Topic awaiting preservation: Make object tag fire onmousedown event (Page 1 of 1) |
|
---|---|
Bipolar (III) Inmate From: Sweden |
![]() I read throuh the FAQ and tried placing a div over the object and catch the onmousedown from there, it didn't work of course... |
Paranoid (IV) Inmate From: France |
![]()
code: <div id="myObject" onmouseout="alert('onmouseout event fired!')" >aaa</div> <script type="text/javascript"> objectHandle = document.getElementById( "myObject" ) objectHandle.onmousedown = function() { alert( "mousedown event fired" ) } // fire the onmouseout and onmousedown events of the objectHandle objectHandle.onmouseout() objectHandle.onmousedown() </script> |
Bipolar (III) Inmate From: Sweden |
![]() Sorry for being unclear. |
Paranoid (IV) Inmate From: France |
![]()
|
Bipolar (III) Inmate From: Sweden |
![]() That didn't work. |
Paranoid (IV) Inmate From: France |
![]() What about nesting the video stream in a Flash movie, and handling the mousedown event in Flash ? |
Bipolar (III) Inmate From: Sweden |
![]() That might (and should be) possible, but it's not my videostream. |
Paranoid (IV) Inmate From: France |
![]() |
Maniac (V) Mad Scientist From: 100101010011 <-- right about here |
![]() Can you still detect X, Y and keypress events when over an embedded object? |
Paranoid (IV) Inmate From: France |
![]() |