Commit 18adf716 authored by frjo's avatar frjo
Browse files

Only popup the title on images for the deafult style. On videos it will cover the controls e.g.

parent 6a5d2c95
......@@ -6,7 +6,7 @@ Drupal.behaviors.initColorboxDefaultStyle = {
// Only run if there is a title.
if ($('#cboxTitle:empty', context).length == false) {
setTimeout(function () { $('#cboxTitle', context).slideUp() }, 1500);
$('#cboxLoadedContent', context).bind('mouseover', function () {
$('#cboxLoadedContent img', context).bind('mouseover', function () {
$('#cboxTitle', context).slideDown();
});
$('#cboxOverlay', context).bind('mouseover', function () {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment