#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2001
    Posts
    11
    Rep Power
    0

    HELP!! Javascript menu appearing behind LED display on page


    Hello,

    I have a LED sign on a page that carries a javascript menu system, when i onmouseover the javascript drop down menu is displayed behind the LED sign.

    How do I get this menu to be displayed in front of the LED sign.

    Here is the code for the LED sign:

    <applet codebase="LEDSign/LED" code="LED.class" width=500 height=48 align=center>
    <param name="script" value="LEDSign.led">
    <param name="border" value="2">
    <param name="bordercolor" value="100,130,130">
    <param name="spacewidth" value="3">
    <param name="wth" value="122">
    <param name="ht" value="9">
    <param name="font" value="LEDSign.font">
    <param name="ledsize" value="3">

    <hr>
    If you were using a Java-enabled browser,
    you would see an animated scrolling text sign that looks like this:
    <BR>
    <IMG SRC="LEDSign.gif">
    <hr>
    </applet>


    Thanks in advance

    Clembert
  2. #2
  3. Contributing User
    Devshed Novice (500 - 999 posts)

    Join Date
    Apr 2001
    Posts
    645
    Rep Power
    0
    you have to use css and teh z-index of the page.

    if you want the display to be before the sign then set the sign like so

    <div style="z-index:5">
    <IMG SRC="LEDSign.gif">
    </div>

    and then do the same on the display but make z-index: 0 or 1. anyhting lower than the other will make it come to the front.
  4. #3
  5. No Profile Picture
    Moderator =(8^(|)
    Devshed Intermediate (1500 - 1999 posts)

    Join Date
    Feb 2002
    Location
    Sacramento, CA
    Posts
    1,710
    Rep Power
    14
    Umm.. z-index goes lowest to highest. 0 is under 1 is under 2 is under 3, etc. The higher the value the "closer" it is to the screen.

    I don't know how it affects applets, though. Give it a try.
    -james
  6. #4
  7. Contributing User
    Devshed Novice (500 - 999 posts)

    Join Date
    Apr 2001
    Posts
    645
    Rep Power
    0
    opps, sorry had those backwards, thnaks for pointing that out

IMN logo majestic logo threadwatch logo seochat tools logo