We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 4966
    • 143 Posts
    I’m receiving a error from IE6 - object required. When I run debugger it points to:
    the for line. I don’t know enough to debug or come up with the cause or solution. You can see the site here:
    http://208.109.213.16/iovinc/

    Please help.

    charliei-mac
    // JavaScript Document

    startList = function() {
    if (document.all&&document.getElementById) {
    navRoot = document.getElementById("topnav");
    for (i=0; i<navRoot.childNodes.length; i++) {
    node = navRoot.childNodes[i];
    if (node.nodeName=="LI") {
    node.onmouseover=function() {
    this.className+=" over";
    }
    node.onmouseout=function() {
    this.className=this.className.replace(" over", "");
    }
    }
    }
    }
    }
    window.onload=startList
      • 33337
      • 3,975 Posts
      Its not Wayfinder error, I guess you are using JS to achieve hover menus, be sure to follow the instructions provided with that solution.

      thanks.
        Zaigham R - MODX Professional | Skype | Email | Twitter

        Digging the interwebs for #MODX gems and bringing it to you. modx.link
        • 33372
        • 1,611 Posts
        I would suspect the script you’re using to load your Flash movie. I use a similar script (so that IE doesn’t do that awful "Click to activate and use this control" hogwash), but I’m not familiar with the one you’re using. You might try this one instead:
        http://blog.deconcept.com/swfobject/

        There is also a sporadic but very severe bug in IE6 when launching JavaScript from within a table cell. Sometimes this can cause the browser to freak out and close altogether. Adding defer="defer" to your script tag can help, but the only sure way to avoid this problem is not to put JS in tables.
          "Things are not what they appear to be; nor are they otherwise." - Buddha

          "Well, gee, Buddha - that wasn&#39;t very helpful..." - ZAP

          Useful MODx links: documentation | wiki | forum guidelines | bugs & requests | info you should include with your post | commercial support options
          • 4966
          • 143 Posts
          Thanks for the responses. I ended up just commenting out the last line of the javascpit file. I wasn’t using submenus anyway. I had used this menu on my first MODx site.

          charlie-imac