close Warning: Can't synchronize with repository "(default)" (The repository directory has changed, you should resynchronize the repository with: trac-admin $ENV repository resync '(default)'). Look in the Trac log for more information.

source: trunk/admin/temi/facebook/menu/suckerfish.js@ 242

Last change on this file since 242 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.