1
|
(function ($) {
|
2
|
|
3
|
Drupal.behaviors.initColorboxDefaultStyle = {
|
4
|
attach: function (context, settings) {
|
5
|
$(context).bind('cbox_complete', function () {
|
6
|
|
7
|
if ($('#cboxTitle:empty', context).length == false) {
|
8
|
$('#cboxLoadedContent img', context).bind('mouseover', function () {
|
9
|
$('#cboxTitle', context).slideDown();
|
10
|
});
|
11
|
$('#cboxOverlay', context).bind('mouseover', function () {
|
12
|
$('#cboxTitle', context).slideUp();
|
13
|
});
|
14
|
}
|
15
|
else {
|
16
|
$('#cboxTitle', context).hide();
|
17
|
}
|
18
|
});
|
19
|
}
|
20
|
};
|
21
|
|
22
|
})(jQuery);
|