Java and Javascript ZIndex problem
We have a series of Java Applets on an HTML page, which loads with no problems.
We have added a button as such onclick="ShowClipartPanel();"
' which then shows another panel (containing clipart in this case).
The problem is that the new clipart panel is hidden behind the Java Applets.
The Clipart panel has a set zIndex ClipartPanel.style.zIndex = 10000;
', and we've added a z/index:2 to the DIVs of the main Applets, but this hasn't helped - any suggestions?
"A computer lets you make more mistakes faster than any invention in human history - with the possible exceptions of hand guns and tequila"
JeevesBond posted this at 14:16 — 30th March 2007.
He has: 3,956 posts
Joined: Jun 2002
Have a look at this thread. Does this help at all?
ijl posted this at 14:55 — 30th March 2007.
They have: 7 posts
Joined: Mar 2006
This seems similar to what we've tried, except that they've used divs absolutly positioned within a parent div whereas ours are seperate - but I don't htink this will make any difference.
The effect we want is similar to a pop-up window, rather than replacing (or effectly covering completely) the other/original content.
"A computer lets you make more mistakes faster than any invention in human history - with the possible exceptions of hand guns and tequila"
JeevesBond posted this at 03:09 — 1st April 2007.
He has: 3,956 posts
Joined: Jun 2002
Yes, looking deeper it seems I am 'barking up the wrong tree', what he did differently is added the wmode=transparent:
so.addParam("wmode", "transparent");
'Did you try doing that? The only other things I can suggest is seeing whether Java has an equivalent of 'wmode'. There's an interesting reference to wmode on the Flash for Linux blog:
So it seems wmode is what you're looking for. This site has some interesting information on the subject too.
a Padded Cell our articles site!
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.