Annoying issue.

Anything questions related to styling should go in here.
Post Reply
sk1llers
Posts: 3
Joined: Sun Dec 04, 2011 10:48 pm

Annoying issue.

Post by sk1llers »

Guys, I have a really annoying issue. So i have java applet and css drop down, but when i hover over the tabs to get the dropdown effect, they go behind the java applet.

Is there anyway to fix this? This is really bothering me..
bowersbros
Posts: 534
Joined: Thu May 05, 2011 8:19 pm

Re: Annoying issue.

Post by bowersbros »

try css z-index. ITs teh only thing i can think of. sorry

Ill think more later, late for college :P
I don't like to brag, but I wasn't circumcised. I was circumnavigated. ;)

Want to learn something new? Or maybe reinforce what you already know? Or just help out? Please subscribe to my videos: http://goo.gl/58pN9
sk1llers
Posts: 3
Joined: Sun Dec 04, 2011 10:48 pm

Re: Annoying issue.

Post by sk1llers »

bowersbros wrote:try css z-index. ITs teh only thing i can think of. sorry

Ill think more later, late for college :P


Nope, that doesn't work with java applets. Thanks for trying though, appreciate it.
User avatar
jacek
Site Admin
Posts: 3262
Joined: Thu May 05, 2011 1:45 pm
Location: UK
Contact:

Re: Annoying issue.

Post by jacek »

If Java applets work the same way as flash does. There is no way since they are rendered after the page using somethign like opengl.
Image
bowersbros
Posts: 534
Joined: Thu May 05, 2011 8:19 pm

Re: Annoying issue.

Post by bowersbros »

Note, this is incredibly bad practice.. But

Place the applet in an iframe, which you include. Then with the iFrame set the z-index to 1 and with the menu or whatever, set it to anything larger. Like 50.

That should hopefully fix your issue?
I don't like to brag, but I wasn't circumcised. I was circumnavigated. ;)

Want to learn something new? Or maybe reinforce what you already know? Or just help out? Please subscribe to my videos: http://goo.gl/58pN9
sk1llers
Posts: 3
Joined: Sun Dec 04, 2011 10:48 pm

Re: Annoying issue.

Post by sk1llers »

jacek wrote:If Java applets work the same way as flash does. There is no way since they are rendered after the page using somethign like opengl.


Yes, there is a way to do it with flash.

and i'll try what you said bower
User avatar
EcazS
Posts: 789
Joined: Fri May 06, 2011 5:29 pm

Re: Annoying issue.

Post by EcazS »

You could try placing the Java applet inside a div with a position: absolute and the z-index property.

"Creating layers with the z-index:
Elements must be positioned absolutely or be a descendant of that positioned element.
An element with a higher z-index appears in front of an element with a lower z-index."
Post Reply