faqts : Computers : Programming : Languages : JavaScript : Event handling

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

9 of 24 people (38%) answered Yes
Recently 3 of 10 people (30%) answered Yes


Problem with onBlur in IE5.5

Apr 20th, 2001 11:00
Max King,

I have some hidden menus created via <DIV ID=menuname>menu</DIV>
and stylesheets that I pop-up with menu.visibility="visible" or
menu.style.visibility="visible" depending on the browser. I want to hide
the menus again if the users clicks on the page background. I added the
appropriate code to the <BODY onBlur> event and it works fine with NN4.
It does not work for IE5.5 however as the onBlur event does not fire. 
Can I
turn on the onBlur event in IE5.5 or is there a better way to do this?