Java drop down menus

Discussion in 'Javascript' started by Steve, Jun 28, 2003.

  1. Steve

    Steve Guest

    I seem to be having a bit of difficulty with a javascript drop down
    menu.

    The line variable,
    var TargetLoc='ddmenu'; ,does not work in Netscape version 4?

    If I take out 'ddmenu' and just declare the variables to start top and
    start left I have no problem displaying it in both IE 5 + and Netscape
    4 +. Although it does not line up the same in IE and Netscape.

    Var TargetLoc='ddmenu'; // Does Netscape not read this variable


    Thanks in advance,
     
    Steve, Jun 28, 2003
    #1
    1. Advertisements

  2. Steve

    Steve Guest

    Sorry that was a Cap typo, should read 'var'
    I know the problem is related to the DDmenu being placed in a table
    <table> as opposed to a layer <DIV> tag. Once I placed it into a layer
    <DIV> it has worked fne although it, does not always line up right in
    Netscape at least it now shows, Thanks.
     
    Steve, Jun 29, 2003
    #2
    1. Advertisements

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.