Jump to content
Xtreme .Net Talk

Recommended Posts

Posted
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?
Posted
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.

Posted
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.
  • *Gurus*
Posted
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]

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...