Centres the overlay container as best as it can (given that we can't

calculate the height of the XHR response container without actually
loading it into the DOM).
This commit is contained in:
Sarven Capadisli 2009-07-01 20:57:21 +00:00
parent 3b6ff92495
commit c832888234
3 changed files with 7 additions and 3 deletions

View File

@ -272,7 +272,7 @@ function NoticeAttachments() {
color : '#000',
opacity : '0.6',
zIndex : 99,
center : true,
center : false,
imgLoading : $('address .url')[0].href+'theme/base/images/illustrations/illu_progress_loading-01.gif',
bgClickToClose : true,
success : function() {
@ -281,7 +281,7 @@ function NoticeAttachments() {
},
timeout : 0,
autoHide : true,
css : {'max-width':'502px'}
css : {'max-width':'502px', 'top':'22.5%', 'left':'32.5%'}
};
$('#content .notice a.attachment').click(function() {

View File

@ -1030,6 +1030,10 @@ border-radius:7px;
#jOverlayContent #content img {
max-width:480px;
}
#jOverlayLoading {
top:22.5%;
left:40%;
}
#attachment_view #oembed_info {
margin-top:11px;
}