/[drupal]/contributions/themes/tapestry/js/suckerfish.js
ViewVC logotype

Contents of /contributions/themes/tapestry/js/suckerfish.js

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


Revision 1.1 - (show annotations) (download) (as text)
Fri Feb 22 03:21:32 2008 UTC (21 months ago) by roopletheme
Branch: MAIN
CVS Tags: DRUPAL-5--1-0, HEAD
Branch point for: DRUPAL-5, DRUPAL-6--1
File MIME type: text/javascript
Initial Release for Drupal 5.0
1 sfHover = function() {
2 var sfEls = document.getElementById("suckerfishmenu").getElementsByTagName("LI");
3 for (var i=0; i<sfEls.length; i++) {
4 sfEls[i].onmouseover=function() {
5 this.className+=" sfhover";
6 }
7 sfEls[i].onmouseout=function() {
8 this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
9 }
10 }
11 }
12 if (window.attachEvent) window.attachEvent("onload", sfHover);

  ViewVC Help
Powered by ViewVC 1.1.2