码迷,mamicode.com
首页 > Web开发 > 详细

jquerymobile知识点三:弹出层popup

时间:2015-01-13 10:21:37      阅读:173      评论:0      收藏:0      [点我收藏+]

标签:

 弹出层popup很简单,主要就是弹出验证,登陆注册,提交信息之类的,下面是我写好的一个demo。。。

 技术分享

 <div data-role="popup" id="popupDialog" data-overlay-theme="a" data-theme="c" data-dismissible="false"
        style="max-width: 460px;" class="ui-corner-all">
        <a href="#" data-rel="back" data-role="button" data-theme="e" data-icon="delete"
            data-iconpos="notext" class="ui-btn-right">Close</a>
        <div data-role="header" data-theme="e" class="ui-corner-top">
            <h1>
                发帖</h1>
        </div>
        <div data-role="content" data-theme="d" class="ui-corner-bottom ui-content">
            <p>
                <textarea style="width: 100%; height: 100px;" id="textval"></textarea></p>
            <p style="text-align: center;">
                <a href="#" data-role="button" data-ajax="false" data-transition="flow" onclick="PublishComment();"
                    data-theme="c">发布</a></p>
        </div>
    </div>

 

jquerymobile知识点三:弹出层popup

标签:

原文地址:http://www.cnblogs.com/dekevin/p/4220426.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!