1
我在將對話框窗口調整到屏幕中心時遇到了一個小問題。 位置設置爲中心,但問題是,dailog窗口的左上角是與屏幕中心對齊的位置...有什麼方法可以解決這個問題。將對話窗口調整到屏幕中央
// Dialog box properties for Select drive
$(".Drive").dialog({
title: 'Form Design'
, width: 'auto'
, height: 'auto'
, autoOpen: false
, position: 'center'
, closeOnEsc: true
, modal: true,
});
$('.driveChoose').click(function(){
var modalUrl = $(this).attr('title');
$('.Drive').load(modalUrl).dialog('open');
return false;
});
號。對我來說存在同樣的問題,即使現在.. :-( – Sullan 2010-12-10 05:17:34