Hi, I’m trying to build a selectbox without using the common selectbox tag.
I planned to use a input object and a layer to show and to hide. If I have no problem showing the layer, just putting the code in the onclick event of the input, I get some trouble hiding it: I want to cloak it when it loses his focus but the div tag doesn’t have the blur event, only the layer tag, but it’s supported just by netscape.
So to hide it I tought to put the code for hiding it at window.click and to set cancelbubble to the input tag.
In that way it should works when clicking on the body of the page but not when resizing or doing anything out of the html area of the page.
I wondered how scripts like the one you can get at [url]http://webfx.eae.net/dhtml/dhtmlmenu4/demos.html
Thank you