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