用户
 找回密码
 入住 CI 中国社区
搜索
查看: 3667|回复: 1
收起左侧

anchor_popup() 函数 剧中

[复制链接]
发表于 2010-8-10 17:11:25 | 显示全部楼层 |阅读模式
我要显示的效果是 新建一个无模态窗口  这个窗口剧中
在网上查查 找到了
data['popup_settings'] = array
(
  'width' => '800',
  'height'=> '600',
  'resizable' => 'no',
  'scrollbars' => 'no',
  'status' => 'no',
  'screenx' => '(screen.width  - 800)/2',
  'screeny' => '(screen.height - 600)/2',
);
但是 大小可以调节,位置 还是不能调节。
请教!
谢谢了
发表于 2010-8-10 17:24:32 | 显示全部楼层
'screenx' => '(screen.width  - 800)/2',
  'screeny' => '(screen.height - 600)/2',

这两个不对吧,这是 JS 知识,和 PHP 无关。

本版积分规则