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
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
Comment