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:
parent
3b6ff92495
commit
c832888234
@ -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() {
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user