View Full Version : Problem->"Fade In" image appears behind a dropdownlist(it should appear above it)

05-17-2004, 09:43 AM
Hi there...Can someone help me with this problem?

I have a page with a form in it,and I have a DHTML script (http://www.dynamicdrive.com/dynamicindex17/stickynote.htm).The form has a couple of text fields,and a dropdown list.When the "fade in" box,from the DHTML script appears, it appears above the text box without problems,but it doesn't hide the dropdown list, which happens to be in the middle of the image. How can I change this,to make the "fade in" box from the script hide everything int he form,including the dropdown list?

Thanks a lot

05-17-2004, 03:28 PM

05-18-2004, 09:53 AM
or you can just set the style of the activex control (form) to display:none or visiblity:hidden when your fade happens

<div id="formholder" style="visibility:visible;">
your form goes here, just like normal
then however you call the fade function, add "formholder.style.visibility='hidden';" and when it's supposed to fade back put "formholder.style.visiblity='visible';". so if your fade was triggered by clicking a button it would go like this <button style="width:200px;height:20px;" onclick="fadefunction(); formholder.style.visiblity='hidden';"></button>