source: trunk/client/temi/facebook/menu/suckerfish.js@ 412

Last change on this file since 412 was 2, checked in by root, 15 years ago

importo il progetto

File size: 497 bytes
Line 
1//son of a suckerfish dropdown - http://htmldog.com/articles/suckerfish/dropdowns/
2
3sfHover = function() {
4 var sfEls = document.getElementById("nav").getElementsByTagName("LI");
5 for (var i=0; i<sfEls.length; i++) {
6 sfEls[i].onmouseover=function() {
7 this.className+=" sfhover";
8 }
9 sfEls[i].onmouseout=function() {
10 this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
11 }
12 }
13}
14if (window.attachEvent) window.attachEvent("onload", sfHover);
Note: See TracBrowser for help on using the repository browser.