[ Index ]

PHP Cross Reference of Drupal 6 (gatewave)

title

Body

[close]

/sites/all/modules/panels/js/ -> panels.js (source)

   1  // $Id: panels.js,v 1.2.4.1 2009/10/05 22:40:35 merlinofchaos Exp $
   2  
   3  (function ($) {
   4    Drupal.Panels = {};
   5  
   6    Drupal.Panels.autoAttach = function() {
   7      if ($.browser.msie) {
   8        // If IE, attach a hover event so we can see our admin links.
   9        $("div.panel-pane").hover(
  10          function() {
  11            $('div.panel-hide', this).addClass("panel-hide-hover"); return true;
  12          },
  13          function() {
  14            $('div.panel-hide', this).removeClass("panel-hide-hover"); return true;
  15          }
  16        );
  17        $("div.admin-links").hover(
  18          function() {
  19            $(this).addClass("admin-links-hover"); return true;
  20          },
  21          function(){
  22            $(this).removeClass("admin-links-hover"); return true;
  23          }
  24        );
  25      }
  26    };
  27  
  28    $(Drupal.Panels.autoAttach);
  29  })(jQuery);


Generated: Thu Mar 24 11:18:33 2011 Cross-referenced by PHPXref 0.7