Solved

Java Applet overlapping menu on Chrome

Posted on 2013-11-03
3
1,410 Views
Last Modified: 2013-12-18
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
Comment
Question by:qutbud
3 Comments
 

Accepted Solution

by:
qutbud earned 0 total points
ID: 39621988
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

ScreenConnect 6.0 Free Trial

Want empowering updates? You're in the right place! Discover new features in ScreenConnect 6.0, based on partner feedback, to keep you business operating smoothly and optimally (the way it should be). Explore all of the extras and enhancements for yourself!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
This video teaches viewers about errors in exception handling.

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question