Last change
on this file since 421 was 241, checked in by luc, 9 years ago |
Aggiunta del widget Privacy e CookieLaw per l'informativa sui cookie - Aggiunto Tema Realistic - Aggiunto Tema Spectral
|
File size:
497 bytes
|
Line | |
---|
1 | //son of a suckerfish dropdown - http://htmldog.com/articles/suckerfish/dropdowns/
|
---|
2 |
|
---|
3 | sfHover = 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 | }
|
---|
14 | if (window.attachEvent) window.attachEvent("onload", sfHover);
|
---|
Note:
See
TracBrowser
for help on using the repository browser.