1 |
85ad3d82
|
Assos Assos
|
(function ($) {
|
2 |
|
|
|
3 |
|
|
Drupal.behaviors.initColorboxDefaultStyle = {
|
4 |
|
|
attach: function (context, settings) {
|
5 |
91f42c9e
|
Assos Assos
|
$(context).bind('cbox_complete', function () {
|
6 |
85ad3d82
|
Assos Assos
|
|
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); |