0
我喜歡將facebox置於正在處理的項目上。當我添加此代碼時,它將中心如何使Facebox居中
$(document).bind('close.facebox', function() {
$(document).unbind('keydown.facebox')
$('#facebox').fadeOut(function() {
$('#facebox .content').removeClass().addClass('content')
$('#facebox .loading').remove()
$(document).trigger('afterClose.facebox')
})
hideOverlay()
})
問題是它將加載頂部,然後移動到中心。無論如何,使facebox加載中心?謝謝。
我的意思的高度。檢查「Ajaxes」示例。它在頂部 – maxlk
@shown:http://phpcode.eu/images/1312915002.png – genesis