[ Index ]

PHP Cross Reference of Drupal 6 (yi-drupal)

title

Body

[close]

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

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


Generated: Mon Jul 9 18:01:44 2012 Cross-referenced by PHPXref 0.7