Forum Moderators: open

Message Too Old, No Replies

Javascript Dropdown Over Applet?

         

Carole61

4:51 am on Jun 28, 2004 (gmt 0)

10+ Year Member



I don't know if what I'm asking for is possible but maybe there's someone out there who can solve my problem.

I have a web page that has a java applet on it. I've added a horizontal javascript menu bar that has a drop down feature. the menu is directly above the applet and works fine but when I click a menu selection and the sub-menu drops down it disappears "behind" the applet not on top of it as I would like.

I know I can add some white space between the menu bar and the applet to fix the problem or make the horzontal menu vertical beside the applet but both of those solutions make the page's layout look awful.

So does anyone know of a trick to make the menu drop downs appear OVER the applet area?

Thanks!

BlobFisk

8:40 am on Jun 28, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Welcome to WebmasterWorld, Carole61!

This is a common problem, not just with Applets but also with Flash objects and <select> lists. These all inhabit a z-index that is outside the scope of the browser, and therefore one cannot layer other objects over them.

The only solution that I have seen (and it isn't elegant) is to hide the applet when the menu is active.

Carole61

8:53 am on Jun 28, 2004 (gmt 0)

10+ Year Member



Thanks for the reply and for letting me know I'm not the only one to have this problem. Now I can stop obsessing over trying to figure this out and just accept that I need to adjust the page layout.

Thanks for the welcome too! :)