M
mogwaii
The problem showed up just recently a month ago, there is some patch
which i got with this list menu, but in the time of built it was not
needed as the listing worked just fine in most grand browsers.
month ago it stopped working, i really do not realize why....i've made
patch free again and have put it in use, here's the patch code:
<script type="text/javascript">
//MSIE 6 and under hack for lack of CSS LI rollovers
var sfHover = function() {
var sfEls =
document.getElementById("meni").getElementsByTagName("LI");
for (var i=0; i<sfEls.length; i++) {
sfEls.onmouseover=function() {
this.className+=" sfhover";
}
sfEls.onmouseout=function() {
this.className=this.className.replace(new RegExp(" sfhover\\b"),
"");
}
}
}
if (window.attachEvent) window.attachEvent("onload", sfHover);
</script>
I think it is for that use(to fix the listing of menu-bar in ie.6,0)
but can't tell it for sure.
Supposedly it has to do with floating, but if it worked from the
beginning then i can't locate the bug so quickly, it has to be page
related, but thats only Maybe.
I someone could look at the code or has an instant answer/idea for
what cause the problem, please let me know.
which i got with this list menu, but in the time of built it was not
needed as the listing worked just fine in most grand browsers.
month ago it stopped working, i really do not realize why....i've made
patch free again and have put it in use, here's the patch code:
<script type="text/javascript">
//MSIE 6 and under hack for lack of CSS LI rollovers
var sfHover = function() {
var sfEls =
document.getElementById("meni").getElementsByTagName("LI");
for (var i=0; i<sfEls.length; i++) {
sfEls.onmouseover=function() {
this.className+=" sfhover";
}
sfEls.onmouseout=function() {
this.className=this.className.replace(new RegExp(" sfhover\\b"),
"");
}
}
}
if (window.attachEvent) window.attachEvent("onload", sfHover);
</script>
I think it is for that use(to fix the listing of menu-bar in ie.6,0)
but can't tell it for sure.
Supposedly it has to do with floating, but if it worked from the
beginning then i can't locate the bug so quickly, it has to be page
related, but thats only Maybe.
I someone could look at the code or has an instant answer/idea for
what cause the problem, please let me know.