Solved

Java Applet overlapping menu on Chrome

Posted on 2013-11-03
3
1,398 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Several part series to implement Internet Explorer 11 Enterprise Mode
This is a PowerShell web interface I use to manage some task as a network administrator. Clicking an action button on the left frame will display a form in the middle frame to input some data in textboxes, process this data in PowerShell and display…
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

759 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now