/[drupal]/contributions/themes/nokoala/menu.js
ViewVC logotype

Contents of /contributions/themes/nokoala/menu.js

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


Revision 1.1 - (show annotations) (download) (as text)
Tue Oct 24 22:52:12 2006 UTC (3 years, 1 month ago) by rkendall
Branch: MAIN
CVS Tags: DRUPAL-4-7--1-0, HEAD
Branch point for: DRUPAL-4-7
File MIME type: text/javascript
No Koala! Drupal theme by Ross Kendall - http://rosskendall.com.

The No Koala! theme is a simple but elegant single-column theme for
the Drupal content management system.  It's goal is to focus on
accessibility and usability, and should be suitable for a blog or
other simple websites.

The theme uses XHTML and CSS, and incorporates a CSS dropdown menu
that is designed to be integrated with the Drupal menu system.
1 // $Id$
2
3 /**
4 * @file
5 * JavaScript for drop-down menu (IE fix).
6 *
7 * ..another son of suckerfish.
8 * http://www.htmldog.com/articles/suckerfish/dropdowns/
9 */
10
11 sfHover = function() {
12 var sfEls = document.getElementById("nav").getElementsByTagName("LI");
13 for (var i=0; i<sfEls.length; i++) {
14 sfEls[i].onmouseover=function() {
15 this.className+=" sfhover";
16 }
17 sfEls[i].onmouseout=function() {
18 this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
19 }
20 }
21 }
22 if (window.attachEvent) window.attachEvent("onload", sfHover);

  ViewVC Help
Powered by ViewVC 1.1.2