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