Hi there,
For IE: I am creating a little popup window using a div, and want to ensure this is displayed in front of any elements on the page. I have a little code like:
When the code is added to a form with <SELECT> elements, these elements always seem to appear with a higher stacking order than the div, so the caption appears with a 'hole' in it through which the <SELECT> element can be seen....
Anyone know if this is a 'feature' of IE, and if so is there a workaraound?
Thanks for any information. Cheers, NEIL
For IE: I am creating a little popup window using a div, and want to ensure this is displayed in front of any elements on the page. I have a little code like:
Code:
function showCaption() {
// code to create text for the caption
div.style.zIndex = 10; // arbitrary large zIndex number
div.style.visibility = "";
}
function hideCaption() {
div.style.visibility = "hidden";
}
When the code is added to a form with <SELECT> elements, these elements always seem to appear with a higher stacking order than the div, so the caption appears with a 'hole' in it through which the <SELECT> element can be seen....
Anyone know if this is a 'feature' of IE, and if so is there a workaraound?
Thanks for any information. Cheers, NEIL