Diesel Posted March 3, 2005 Posted March 3, 2005 I have an imagemap where certain areas of the imagemap popup a table using onmouseover. The table always appears under the image. I've changed the z-index of the image and the table with no luck, any ideas? Quote
Mister E Posted March 3, 2005 Posted March 3, 2005 I have an imagemap where certain areas of the imagemap popup a table using onmouseover. The table always appears under the image. I've changed the z-index of the image and the table with no luck' date=' any ideas?[/quote'] Try setting the position to absolute:<TABLE STYLE="position:absolute;left:100;top:100;z-index:1;"> <TR> <TD>Table Content</TD> </TR> </TABLE>That works for me. Except for comboboxes... I have no clue why, but they always show through. Quote
Diesel Posted March 4, 2005 Author Posted March 4, 2005 I had the position = absolute. I think that displaying html elements over images may not be possible in javascript. The images are not refreshed, they are static elements. Quote
*Gurus* Derek Stone Posted March 4, 2005 *Gurus* Posted March 4, 2005 Except for comboboxes... I have no clue why, but they always show through. They're the one control the Internet Explorer Team at Microsoft didn't reimplement. They're drawn as they're own window, "outside" of the viewport, meaning they're drawn independently of the Web page itself, and therefore not affected by z-ordering. [edit]You can view this for yourself using Spy++ or a similar application.[/edit] Quote Posting Guidelines
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.