• jquerymobile知识点三:弹出层popup


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

     

     <div data-role="popup" id="popupDialog" data-overlay-theme="a" data-theme="c" data-dismissible="false"
            style="max- 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=" 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>
  • 相关阅读:
    repr() Vs str()
    默认参数
    元组
    字典
    电脑可以办的两类最基本的事情
    代码块
    变量名
    print的逻辑
    input的逻辑
    让python2听懂中文
  • 原文地址:https://www.cnblogs.com/dekevin/p/4220426.html
Copyright © 2020-2023  润新知