Last change
on this file since 96 was
80,
checked in by guille, 16 years ago
|
el plugin completo
|
-
Property svn:executable set to
*
|
File size:
567 bytes
|
Line | |
---|
1 | // javascript permettant de contourner le probleme des li:hover dans ie6 |
---|
2 | startList = function() { |
---|
3 | if (document.all&&document.getElementById) { |
---|
4 | menuRoot = document.getElementById("menu"); |
---|
5 | for (x=0; x<menuRoot.childNodes.length; x++) { |
---|
6 | node = menuRoot.childNodes[x]; |
---|
7 | if (node.nodeName=="LI") { |
---|
8 | node.onmouseover=function() { |
---|
9 | this.className+=" over"; |
---|
10 | } |
---|
11 | node.onmouseout=function() { |
---|
12 | this.className=this.className.replace(" over", ""); |
---|
13 | } |
---|
14 | } |
---|
15 | } |
---|
16 | } |
---|
17 | } |
---|
18 | |
---|
19 | if (window.attachEvent) { |
---|
20 | window.attachEvent("onload", startList) |
---|
21 | } else { |
---|
22 | window.onload=startList; |
---|
23 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.