简体   繁体   English

jQuery Mobile 弹出屏幕大小

[英]jQuery Mobile popup screen size

I am using jQuery Mobile, I need a popup option for open a form.我正在使用 jQuery Mobile,我需要一个弹出选项来打开一个表单。 The popup is working, but I need to make it larger.弹出窗口正在工作,但我需要让它更大。

<div id="addPopup" data-role="popup" data-overlay-theme="a" data-theme="d" data-transition="pop" >

   <div data-role="header" data-theme="c" class="ui-corner-top">
        <div class="ui-btn-left">
            <a href="#NEED TO CONFIGURE" data-role="button" data-theme="c" data-icon="check" data-inline="true" data-ajax="false">Save</a>
        </div>

            <h1 class="ui-title" role="heading">Status</h1>

        <div class="ui-btn-right">
            <a href="#NEED TO CONFIGURE" data-role="button" data-theme="c" data-icon="delete" data-inline="true" data-ajax="false">Cancel</a> 
        </div>


Item Code:项目代码:

        <div class="grid_10" style="text-align:left; width:30%; margin-top:0px;"> 
            <input type="text" name="name" id="name" value="" placeholder="Item Code">
        </div>
    </div>

How do I do this?我该怎么做呢?

Use CSS to adjust the sizing of your popup.使用 CSS 调整弹出窗口的大小。

#yourpopup{
    width: 200px;
}

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM