1/** 2 * Javascript functionality for the include plugin 3 */ 4 5/** 6 * Highlight the included section when hovering over the appropriate include edit button 7 * 8 * @author Andreas Gohr <andi@splitbrain.org> 9 * @author Michael Klier <chi@chimeric.de> 10 * @author Michael Hamann <michael@content-space.de> 11 */ 12jQuery(function() { 13 jQuery('.btn_incledit') 14 .mouseover(function () { 15 jQuery(this).closest('.plugin_include_content').addClass('section_highlight'); 16 }) 17 .mouseout(function () { 18 jQuery('.section_highlight').removeClass('section_highlight'); 19 }); 20}); 21 22// vim:ts=4:sw=4:et: 23