Web Analytics Made Easy -
StatCounter problem - CodingForum

Announcement

Collapse
No announcement yet.

problem

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • problem

    Im building a website and it says that there is a code error.

    There is something wrong with this code.

    <!--



    var ie = document.all ? 1 : 0
    var ns = document.layers ? 1 : 0


    if(ns){var sidemenu = document.all.floatmenu;}
    if(ns){var sidemenu = document.floatmenu;}


    if(!ie){sidemenu.visibility = "hidden"}


    function FixY(){
    if(ie){sidemenu.style.top = document.body.scrollTop+10}
    if(ns){sidemenu.top = window.pageYOffset+10}
    }


    setInterval("FixY()",100);

    //-->

    PLEASE COULD SOMEONE HELP ME

  • #2
    What browser are you viewing it with? The code is certainly obsolete since it's obviously written for IE 4 and Netscape 4.
    Check out the Forum Search. It's the short path to getting great results from this forum.

    Comment

    Working...
    X