Menu works in IE, not Mozilla

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • XLiO

    Menu works in IE, not Mozilla

    I designed a simple js menu, using some examples from
    www.w3schools.com as a guide. But I realized it only works in MSIE
    and not any other browsers. Is there a way to easily change my code?
    Here's the URL.



    Thanks,

    Julio
  • Lasse Reichstein Nielsen

    #2
    Re: Menu works in IE, not Mozilla

    xliojr@yahoo.co m (XLiO) writes:
    [color=blue]
    > I designed a simple js menu, using some examples from
    > www.w3schools.com as a guide. But I realized it only works in MSIE
    > and not any other browsers. Is there a way to easily change my code?[/color]

    It seems to work in Opera 7 too. My guess is that you use document.all.
    Stop doing that, and use the method document.getEle mentById instead.
    For other compatability hints:
    <URL:http://devedge.netscap e.com/viewsource/2002/gecko-compatibility/>

    /L
    --
    Lasse Reichstein Nielsen - lrn@hotpop.com
    Art D'HTML: <URL:http://www.infimum.dk/HTML/randomArtSplit. html>
    'Faith without judgement merely degrades the spirit divine.'

    Comment

    Working...