莫代尔没有出现小窗口

时间:2013-03-09 00:31:39

标签: javascript jquery css twitter-bootstrap media-queries

我正在使用twitter boot strap modal ... 当我点击登录按钮时弹出模态..... 它适用于大屏幕...... 但是对于小屏幕,我点击了lo-gin按钮后弹出窗口没有出现... 提供了我的代码

http://jsfiddle.net/KNPZB/12/embedded/result/

$('#myModal').modal({ show: false })

HTML

<div id="myModal" class="modal hide fade" style="width: 427px; height: 226px;">
    <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
    </div>
    <div class="modal-body" style="width: 336px;">
        <form method="post" class="navbar-form pull-right" action="http://intra.defie.co/Account/">
            <input class="span2" type="text" name="email" placeholder="Email" style="width: 263px; margin-top: 19px; margin-bottom: 10px;">
            <br>
            <input class="span2" type="password" name="password" placeholder="Password" style="width: 263px;">
            <br>
            <button type="submit" class="btn" style="margin-top: 13px; margin-left: 100px;">Sign in</button>
        </form>
    </div>
</div>

0 个答案:

没有答案