...

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



Victor
05-17-2004, 08: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

glenngv
05-17-2004, 02:28 PM
http://www.codingforums.com/showthread.php?s=&threadid=28261

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

[code]
<html>
<head>
</head>
<body>
<div id="formholder" style="visibility:visible;">
<form>
your form goes here, just like normal
</form>
</div>
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>
</body>
</html>



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum