hi everybody i am new in javascript .i hope all guys helpful.i have my site tonerquestsite.com.my javascript is not working for IE can you help me out .my css file is
/* -------------- layout ------------------ */
/*qmfv{visibility:hidden !important;}*/
qmfh{visibility:visible !important;}
.leftNav {position: relative; z-index: 0;}
/*!!!!!!!!!!! QuickMenu Core CSS [Do Not Modify!] !!!!!!!!!!!!!*/
.qmmc1 .qmdivider
{
display:block;
font-size:1px;
border-width:0px;
border-style:solid;
position:relative;
}
.qmmc1 .qmdividery
{
float:left;
width:0px;
}
.qmmc1 .qmtitle
{
display:block;
cursor:default;
white-space:nowrap;
position:relative;
}
.qmclear
{
font-size:1px;
height:0px;
width:0px;
clear:left;
line-height:0px;
display:block;
float:none !important;
}
.qmmc1
{
position:relative;
zoom:1;
z-index:10;
}
.qmmc1 a, .qmmc1 li
{
float:left;
display:block;
white-space:nowrap;
position:relative;
z-index:1;
}
.qmmc1 div a, .qmmc1 ul a, .qmmc1 ul li
{
float:none;
}
.qmsh div a {float:left;}
.qmmc1 div
{
visibility:hidden;
position:absolute;
}
.qmmc1 .qmcbox
{
cursor:default;
display:block;
position:relative;
z-index:1;
}
.qmmc1 .qmcbox a{display:inline;}
.qmmc1 .qmcbox div
{
float:none;
position:static;
visibility:inherit;
left:auto;
}
.qmmc1 li {position:relative;z-index:1;}
.qmmc1 ul
{
left:-10000px;
position:absolute;
z-index:10;
}
.qmmc1, .qmmc1 ul
{
list-style:none;
padding:0px;
margin:0px;
}
.qmmc1 li a {float:none;}
.qmmc1 li:hover>ul{left:auto;}
.qmmc1 li:hover ul, li.over ul{display:block;}
/*!!!!!!!!!!! QuickMenu Styles [Please Modify!] !!!!!!!!!!!*/
#qm1clear
{
clear:left;
}
/* QuickMenu 0 */
/*"""""""" (MAIN) Container""""""""*/
#qm1
{
width:900px;
height:auto;
text-align:center;
}
/*"""""""" (MAIN) Items""""""""*/
#qm1 a
{
background-color:transparent;
color:#333333;
font-family:Arial;
font-size:2px;
text-align:left;
text-decoration:none;
border-width:0px 0px 0px 1px;
border-style:solid;
border-color:#699EDC;
padding-left: 1.5em;
padding-right: 1em;
}
/*"""""""" (MAIN) Hover State""""""""*/
#qm1 a:hover
{
background-color: #699EDC;
}
/*"""""""" (MAIN) Hover State - (duplicated for pure CSS)""""""""*/
#qm1 li:hover
{
text-decoration:none;
}
/*"""""""" (MAIN) Parent Hover State""""""""*/
#qm1 .qmparent1:hover
{
background-color:#699EDC;
margin:0px;
display:block;
position:relative;
z-index:1;
overflow:visible;
}
/*"""""""" (MAIN) Active State""""""""*/
body #qm1 .qmactive, body #qm1 .qmactive:hover
{
background-color:#699EDC;
text-decoration:underline;
}
/*"""""""" (SUB) Container""""""""*/
#qm1 div, #qm1 ul
{
background-color:#699EDC;
width:inherit;
border-width:1px;
font-size:10px;
visibility:visible;
line-height:1.5;
padding: 3px 1px 3px 1px;
z-index:1;
}
/*"""""""" (SUB) Items""""""""*/
#qm1 div a, #qm1 ul a
{
/*padding:1px 20px 1px 2px;*/
background-color:transparent;
color:#333333;
font-size:smaller;
border-width:1px 0px 1px 0px;
border-style:solid;
border-color:#699EDC;
}
/*"""""""" (SUB) Hover State""""""""*/
#qm1 div a:hover
{
text-decoration:underline;
}
/*"""""""" (SUB) Hover State - (duplicated for pure CSS)""""""""*/
#qm1 ul li:hover>a
{
text-decoration:underline;
margin-bottom:auto;
}
/*"""""""" (SUB) Parent Hover State""""""""*/
#qm1 div .qmparent1:hover
{
background-color:transparent;
}
/*"""""""" (SUB) Active State""""""""*/
body #qm1 div .qmactive, body #qm1 div .qmactive:hover
{
background-color:#D6D6D6;
text-decoration:none;
border-color:#858585;
}
/*"""""""" Individual Titles""""""""*/
#qm1 .qmtitle
{
cursor:default;
padding:3px 0px 3px 4px;
color:#333333;
font-family:arial;
font-size:9px;
font-weight:bold;
margin-bottom: 1px;
}
/*"""""""" Individual Horizontal Dividers""""""""*/
#qm1 .qmdividerx
{
border-top-width:1px;
border-color:#BFBFBF;
}
/*"""""""" Individual Vertical Dividers""""""""*/
#qm1 .qmdividery
{
border-left-width:1px;
height:5px;
margin:4px 2px 0px 2px;
border-color:#BFBFBF;
}
/*"""""""" Custom Rule""""""""*/
ul#qm1 .qmparent1
{
background-image:url(qmimages/cssalt1_arrow_right.gif);
background-repeat:no-repeat;
background-position:95% 50%;
}
/*"""""""" Custom Rule""""""""*/
ul#qm1 ul .qmparent1
{
background-image:url(qmimages/cssalt1_arrow_right.gif);
}
/*"""""""" Custom Rule""""""""*/
ul#qm1 ul
{
margin:0px 0px 0px -1px;
}
/*"""""""" Custom Rule""""""""*/
ul#qm1 ul li:hover > a.qmparent1
{
background-color:#D6D6D6;
background-image:url(qmimages/cssalt1_arrow_right_hover.gif);
text-decoration:none;
border-color:#858585;
margin:auto;
}
/*"""""""" Custom Rule""""""""*/
ul#qm1 li:hover > a.qmparent1
{
background-color:#699EDC;
background-image:url(qmimages/cssalt1_arrow_right_hover.gif);
}
#horizNav ul li {z-index:1;}
#horiNav ul ul ul
{
position: absolute;
top: 0;
left: 100%;
width: 100%;
}
and my javascript is <script type="text/javascript">
startList = function()
{
if (document.all&&document.getElementById)
{
navRoot = document.getElementById("qm1");
for (i=0; i<navRoot.childNodes.length; i++)
{
node = navRoot.childNodes[i];
alert(node);
if (node.nodeName=="LI")
{
node.onmouseover=function()
{
this.className+=" over";
}
node.onmouseout=function()
{
this.className=this.className.replace(" over", "");
}
}
}
}
}
window.onload=startList;
</script>
thanks a lot for help.its really urgent .please guys give me favor.i am waiting for reply.