1
|
|
2
|
(function ($) {
|
3
|
Drupal.Panels = Drupal.Panels || {};
|
4
|
|
5
|
Drupal.Panels.autoAttach = function() {
|
6
|
if ($.browser.msie) {
|
7
|
|
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);
|