【问题标题】:jQuery Mobile popup screen sizejQuery Mobile 弹出屏幕大小
【发布时间】:2014-10-17 07:06:47
【问题描述】:

我正在使用 jQuery Mobile,我需要一个弹出选项来打开表单。弹出窗口正在运行,但我需要将其放大。

<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>


商品代码:

        <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>

我该怎么做?

【问题讨论】:

    标签: javascript jquery html css jquery-mobile


    【解决方案1】:

    使用 CSS 调整弹出窗口的大小。

    #yourpopup{
        width: 200px;
    }
    

    【讨论】:

    • @user3743512 很高兴为您提供帮助 :-)
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2013-05-24
    • 1970-01-01
    • 1970-01-01
    • 2012-09-17
    • 2016-07-14
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多