faqts : Computers : Programming : Languages : JavaScript : DHTML

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

6 of 8 people (75%) answered Yes
Recently 2 of 3 people (67%) answered Yes

Entry

why does an onmouseout event for a layer fire when I move onto a hard coded form in the layer

Sep 26th, 2000 20:28
Mike Hall, David Gurney, http://www.webreference.com/dhtml/diner/seethru/


That's because the browser uses OS controls to implement form elements. 
When you mouseover a form input the browser loses control, giving it to 
the OS interface. This goes for plugins, like flash, as well. The 
browser loses control over mouse events which are handled by the plugin 
program instead.
For the same reason, absolutely positioned elements appear underneath 
form elements when they overlap.
Newer versions of IE (v5) and Netscape (v6) do handle some form elements 
within the browser instead. For more information, and a test suite, see 
the WebReference.com article at 
http://www.webreference.com/dhtml/diner/seethru/.