jQuery MiniUI

标题: window弹出面板问题 [打印本页]

作者: dianaly122    时间: 2014-1-22 16:51:08     标题: window弹出面板问题

[attach]3823[/attach]
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>

作者: felt    时间: 2014-1-22 17:10:04

404你指向的页面路径不对吧
作者: dianaly122    时间: 2014-1-22 17:16:21

felt 发表于 2014-1-22 17:10
404你指向的页面路径不对吧

路径没有问题的,  window.showModalDialog("../../showhtml/EmployeeWindow.html', null, "dialogWidth:300px;dialogHeight:100px");都可以打开啊
作者: felt    时间: 2014-1-22 17:22:12

dianaly122 发表于 2014-1-22 17:16
路径没有问题的,  window.showModalDialog("../../showhtml/EmployeeWindow.html', null, "dialogWidth:3 ...

检查下bootPATH




欢迎光临 jQuery MiniUI (http://miniui.com/discuss/) Powered by Discuz! X2