| 1 |
/* $Id$ */
|
| 2 |
/**
|
| 3 |
* son of suckerfish menu script from:
|
| 4 |
* http://www.htmldog.com/articles/suckerfish/dropdowns/
|
| 5 |
*/
|
| 6 |
sfHover = function() {
|
| 7 |
var sfEls = document.getElementById("nav").getElementsByTagName("LI");
|
| 8 |
for (var i = 0; i < sfEls.length; i++) {
|
| 9 |
sfEls[i].onmouseover = function() {
|
| 10 |
this.className += " sfhover";
|
| 11 |
this.style.zIndex = 200; /* this line added to force flyout to be above relatively positioned stuff in IE */
|
| 12 |
}
|
| 13 |
sfEls[i].onmouseout = function() {
|
| 14 |
this.className = this.className.replace(new RegExp(" sfhover\\b"), "");
|
| 15 |
}
|
| 16 |
}
|
| 17 |
}
|
| 18 |
|
| 19 |
if (window.attachEvent) {
|
| 20 |
window.attachEvent("onload", sfHover);
|
| 21 |
}
|