lightboxContainer

This commit is contained in:
Sanj 2011-11-07 16:27:55 +05:30
parent 1d2f940f40
commit 3e0bde75d1

View File

@ -66,7 +66,7 @@ $('.thumbsDetails').live("click", function(e) {
showLightbox($img); showLightbox($img);
var title = $(this).hasAttr("title") ? $(this).attr("title") : ''; var title = $(this).hasAttr("title") ? $(this).attr("title") : '';
var $c = $('#lightboxContent'); var $c = $('#lightboxContent');
var $cont = $('.lightboxContainer').appendTo($c); var $cont = $('<div />').addClass("lightboxContainer").appendTo($c);
if (title != '') { if (title != '') {
var $caption = $('<div />').addClass("lightboxCaption").text(title).appendTo($cont); var $caption = $('<div />').addClass("lightboxCaption").text(title).appendTo($cont);
} }