ekliu 发表于 2010-8-10 17:11:25

anchor_popup() 函数 剧中

我要显示的效果是 新建一个无模态窗口这个窗口剧中
在网上查查 找到了
data['popup_settings'] = array
(
'width' => '800',
'height'=> '600',
'resizable' => 'no',
'scrollbars' => 'no',
'status' => 'no',
'screenx' => '(screen.width- 800)/2',
'screeny' => '(screen.height - 600)/2',
);
但是 大小可以调节,位置 还是不能调节。
请教!
谢谢了

Hex 发表于 2010-8-10 17:24:32

'screenx' => '(screen.width- 800)/2',
'screeny' => '(screen.height - 600)/2',

这两个不对吧,这是 JS 知识,和 PHP 无关。
页: [1]
查看完整版本: anchor_popup() 函数 剧中