Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1497
  • Last Modified:

Java Applet overlapping menu on Chrome

In Brief: The Java Applet overlaps menu on Chrome (version 30.0), but in Firefox it works correctly. I've checked out several forums, but nothing seems to work for me.


In Detail:
When I hover over the drop-down-menu, it goes behind the java applet. I've assigned z-index to my drop-down menu and renders the menu over all content in the frameset, but the Java Applet.

Following is the frameset structure for that particular page. Any help is deeply appreciated.

<div id="drop-down-menu"><ul> ... </ul></div>

<iframe id="frame1">
  <frameset rows="50,*,30">
    <frame src="top_menu.jsp" id="frame2">
    <frameset cols="35,*">
      <frame src="tree_navigation.jsp" id="frame4">
      <frameset cols="20,*,0,0>
        <frame src="toolbar.jsp" id="frame5">
        <frame src="welcome.jsp" id="frame6">
        <frame src="java_applet.jsp" id="frame7">
        <frame src="other.jsp" id="frame8">
      </frameset>
    </frameset>
    <frame src="footer.jsp" id="frame3">
  </frameset>
</iframe>

Open in new window

0
qutbud
Asked:
qutbud
1 Solution
 
qutbudAuthor Commented:
For Chrome:
I figured out that rendering applet in an iframe causes it always render above the menus, despite the z-index for iframes.

From an old post from 2007 from a now defunct site:
The solution is to have a third Iframe C within Iframe A. Iframe C has a z-index within Iframe A that is higher than the z-index of the Applet. It is positioned so that it's rectangle as considered by the top page is identical to that of the Iframe B overlay.

IE
The menu has to be in an iframe and can be overlayed on the applet (in iframe) wit hz-index.

Firefox
The menu can be rendered directly in the DOCUMENT and overlayed on the Applet (in iframe) with z-index.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now