lightboxContainer
This commit is contained in:
parent
1d2f940f40
commit
3e0bde75d1
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user