|
|
Drupal example source code file (panels.js)
The panels.js Drupal example source code(function ($) { Drupal.Panels = {}; Drupal.Panels.autoAttach = function() { if ($.browser.msie) { // If IE, attach a hover event so we can see our admin links. $("div.panel-pane").hover( function() { $('div.panel-hide', this).addClass("panel-hide-hover"); return true; }, function() { $('div.panel-hide', this).removeClass("panel-hide-hover"); return true; } ); $("div.admin-links").hover( function() { $(this).addClass("admin-links-hover"); return true; }, function(){ $(this).removeClass("admin-links-hover"); return true; } ); } }; $(Drupal.Panels.autoAttach); })(jQuery); Other Drupal examples (source code examples)Here is a short list of links related to this Drupal panels.js source code file: |
"Drupal" is a registered trademark of Dries Buytaert.
my drupal tutorials and examples
Copyright
1998-2016 Alvin Alexander, alvinalexander.com
All Rights Reserved.
Beginning in 2016, a portion of the proceeds from pages under the '/drupal-code-examples/' URI will be donated to charity.