lightboxContent

This commit is contained in:
Sanj 2011-10-25 22:50:23 +01:00
parent 8b11fc5f73
commit 61b9334345
3 changed files with 8 additions and 7 deletions

View File

@ -42,7 +42,7 @@ $('.thumbsDetails').live("click", function(e) {
showLightbox($img);
var title = $(this).hasAttr("title") ? $(this).attr("title") : '';
if (title != '') {
var $caption = $('<div />').addClass("lightboxCaption").text(title).appendTo($('#lightboxPanel'));
var $caption = $('<div />').addClass("lightboxCaption").text(title).appendTo($('#lightboxContent'));
}
});
@ -52,7 +52,7 @@ function hideLightbox() {
function showLightbox($content) {
$('#lightbox, #lightboxPanel').fadeIn(400);
$('#lightboxPanel').empty().append($content);
$('#lightboxContent').empty().append($content);
}

View File

@ -39,14 +39,10 @@
<div id="contentTab">
<ul>
<!--
{% for t in tweets %}
<li>{{ t|safe }}</li>
{% endfor %}
-->
<li>@dootah there's a new play this weekend. @dootah there's a new play this weekend. @dootah there's a new play this weekend. and then some more</li>
<li>@dootah there's a new play this weekend. @dootah there's a new play this weekend. @dootah there's a new play this weekend. and then some more</li>
<li>@dootah there's a new play this weekend. @dootah there's a new play this weekend. @dootah there's a new play this weekend. and then some more</li>
<!--
<li>@dootah there's a new play this weekend. <span>bit.ly/xYr3dD</span></li>
<li>@dootah there's a new play this weekend. <span>bit.ly/xYr3dD</span></li>

View File

@ -25,7 +25,12 @@
}(document, 'script', 'facebook-jssdk'));</script>
<div id="lightboxPanel">
<div id="lightboxContent">
</div>
<div id="lightboxClose">
</div>
</div>
<div id="lightbox"></div>