/[drupal]/contributions/themes/mollio/common.js
ViewVC logotype

Contents of /contributions/themes/mollio/common.js

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download) (as text)
Mon Mar 20 15:26:17 2006 UTC (3 years, 8 months ago) by rkerr
Branch: MAIN
CVS Tags: HEAD
Branch point for: DRUPAL-4-6, DRUPAL-4-7
File MIME type: text/javascript
First commit of Mollio theme for drupal.
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 }

  ViewVC Help
Powered by ViewVC 1.1.2