source: sipes/modules_contrib/panels/js/panels.js @ 4f375e3

stableversion-3.0
Last change on this file since 4f375e3 was 4f375e3, checked in by José Gregorio Puentes <jpuentes@…>, 8 años ago

se agrego el modulo panels

  • Propiedad mode establecida a 100644
File size: 729 octetos
Línea 
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);
Nota: Vea TracBrowser para ayuda de uso del navegador del repositorio.