How to make HTML partially cover applet?

Discussion in 'Javascript' started by mitch, Jun 7, 2006.

  1. mitch

    mitch Guest

    We have a page that combines HTML with a Java applet.
    The applet has a big rectangle in the middle of the page.
    Above the applet we have some dropdown menus that are
    in HTML (and JavaScript and CSS). We would like to make it
    so the dropdowns can temporarily be visible on top of the
    applet, and it doesn't seem to work. The applet seems to
    completely own its rectangle, and nothing with CSS or
    Z ordering seems to work to draw temporarily on top of the
    applet.

    Does anybody have ideas for how to do this? We tried one
    trick with an IFrame that seems to work in IE but not in Firefox
    or Safari. Thanks.
    mitch, Jun 7, 2006
    #1
    1. Advertising

  2. mitch wrote:

    > Does anybody have ideas for how to do this? We tried one
    > trick with an IFrame that seems to work in IE but not in Firefox
    > or Safari.


    You should be able to hide the applet completely (e.g. setting
    appletElement.style.visibility = 'hidden') while your menu is visible. I
    don't think there is a way to have the applet content drawn below normal
    HTML element contents.

    --

    Martin Honnen
    http://JavaScript.FAQTs.com/
    Martin Honnen, Jun 7, 2006
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Rob Zoldan

    HTML pages only partially appear

    Rob Zoldan, Nov 5, 2003, in forum: ASP .Net
    Replies:
    1
    Views:
    351
    Kevin Spencer
    Nov 6, 2003
  2. Chris Berg

    Partially parsing HTML

    Chris Berg, Sep 4, 2005, in forum: Java
    Replies:
    1
    Views:
    328
    Roedy Green
    Sep 5, 2005
  3. puzzlecracker
    Replies:
    4
    Views:
    950
    Richard
    Oct 19, 2009
  4. Xah Lee
    Replies:
    0
    Views:
    507
    Xah Lee
    Jul 31, 2010
  5. Oscar Monteiro
    Replies:
    4
    Views:
    147
Loading...

Share This Page