jQuery MiniUI

 找回密码
 立即注册
查看: 4356|回复: 3
打印 上一主题 下一主题

window弹出面板问题 [复制链接]

Rank: 3Rank: 3

跳转到指定楼层
楼主
发表于 2014-1-22 16:51:08 |只看该作者 |倒序浏览

function openWindow() {
            var win = mini.open({
                title: '添加信息',
                url: bootPATH + '../../showhtml/EmployeeWindow.html',
                showModal: false,
                width: 400,
                height: 250
             });
            var x = 200;
            var y = 300;
            win.showAtPos(x, y);
        }
html页面

<form id="form1" method="post" action="">
        <input name="id" class="mini-hidden" />
        <div style="padding-left:11px;padding-bottom:5px;">
            <fieldset style="border:solid 1px #aaa;padding:3px;">
            <legend style="font-size:x-large;" >添加面料</legend>   
        <table>
        <tr>
        <td class="tdd1">面料大料</td><td style="width:130px">
            <select style="width:155px"></select></td><td></td>
        </tr>
         
        <tr>
        <td class="tdd1">织&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;法</td>  <td style="width:130px"><input type="text" /></td>
         <td><input type="button" vlaue="确定"/></td>
        </tr>
            
        <tr>
        <td class="tdd1">品&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;名</td> <td style="width:130px"><input type="text" /></td>
           
      <td><input type="button" value="取消" /></td>
         </tr>
        </table>
        </fieldset>
        </div>
    </form>
附件: 你需要登录才可以下载或查看附件。没有帐号?立即注册

Rank: 8Rank: 8

沙发
发表于 2014-1-22 17:10:04 |只看该作者
404你指向的页面路径不对吧

Rank: 3Rank: 3

板凳
发表于 2014-1-22 17:16:21 |只看该作者
felt 发表于 2014-1-22 17:10
404你指向的页面路径不对吧

路径没有问题的,  window.showModalDialog("../../showhtml/EmployeeWindow.html', null, "dialogWidth:300px;dialogHeight:100px");都可以打开啊

Rank: 8Rank: 8

地板
发表于 2014-1-22 17:22:12 |只看该作者
dianaly122 发表于 2014-1-22 17:16
路径没有问题的,  window.showModalDialog("../../showhtml/EmployeeWindow.html', null, "dialogWidth:3 ...

检查下bootPATH

Archiver|普加软件

GMT+8, 2025-7-9 17:17 , Processed in 1.054848 second(s), 10 queries .

Powered by Discuz! X2

© 2001-2011 Comsenz Inc.

回顶部