By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,686 Members | 1,510 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,686 IT Pros & Developers. It's quick & easy.

Sliding Menu, over an APPLET

P: 4
Hi,

I have got a requirement. In my application, i have a JSP which includes an Applet. On top of that i have a Menu option, on click of which a sliding menu comes up. The problem is, the menu goes behind the applet, it's not coming in front of the Applet screen. I tried using z-index property also but it didn't worked.

Can anybody please help on the same. It's really urgent.

Thanks in advance.
Jun 14 '07 #1
Share this Question
Share on Google+
3 Replies


drhowarddrfine
Expert 5K+
P: 7,435
Without the complete html and css or a link, we can only guess.
Jun 14 '07 #2

P: 4
Without the complete html and css or a link, we can only guess.
hi,

thanks for replying..... I tried making the style as abosolute for both the div's; & then tried using z-index, it didnt wrkd .... Well here goes the basic div tag for the same...

This one is the code in a jsp file calling the applet..
Expand|Select|Wrap|Line Numbers
  1. <div id="msgarea" style="height:663px;"><applet codebase="/"</applet></div>
The other code is in a diff jsp which should draw the menu over the applet..
Expand|Select|Wrap|Line Numbers
  1. <div id="inq"
  2.  style="position: absolute; left: 369px; top: 71px;display:none;; width: 136px; height: 148px"
  3.     onMouseOver="dropmenu('showit','inq',this);dropmenu('hide','tools',this)"
  4.     onMouseOut="dropmenu('hideit','inq')">
  5. <table width="100%" border="0" cellspacing="0">
  6. <tr>
Any help, i'll be really thankful....
Jun 14 '07 #3

drhowarddrfine
Expert 5K+
P: 7,435
Have not tested but some notes:
1) Absolute positioning removes the element from the normal flow which I'm wondering might be causing this.
2) <applet> has been deprecated so you might want to look into using <object> instead.

See if relative positioning solves the problem but I'll look into it when I can later.
Jun 14 '07 #4

Post your reply

Sign in to post your reply or Sign up for a free account.