zoukankan      html  css  js  c++  java
  • jQuery Mobile对话框插件

    <!DOCTYPE html>
    <html>
        <head>
            <meta charset="utf-8" />
            <meta name="viewport" content="width=device-width, initial-scale=1" />


            <link rel="stylesheet" href="https://ajax.aspnetcdn.com/ajax/jquery.mobile/1.1.0/jquery.mobile-1.1.0.min.css" /> 

           <link rel="stylesheet" type="text/css" href="http://dev.jtsage.com/cdn/simpledialog/latest/jquery.mobile.simpledialog.min.css" />

            <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
            <script src="https://ajax.aspnetcdn.com/ajax/jquery.mobile/1.1.0/jquery.mobile-1.1.0.min.js"></script> 
            <script type="text/javascript" src="http://dev.jtsage.com/cdn/simpledialog/latest/jquery.mobile.simpledialog.min.js"></script>
            <script type="text/javascript">
     $(document).delegate(
    '#dialoglink''click'function() {
                    $(
    this).simpledialog({
                        
    'mode''blank',
                        
    'prompt'false,
                        
    'forceInput'false,
                        
    'useModal'true,
                        
    'fullHTML':
                        
    "<ul data-role='listview'><li>Some</li><li>List</li><li>Items</li></ul><a rel='close' data-role='button' href='#' id='simpleclose'>Close</a>"
                    })
                });

            
    </script>
        </head>

     

    <body>

     <div data-role="content" style="padding: 15px">
    <href="#" id="dialoglink" data-role="button">Open Dialog</a>

    </div>

    </body>

    </html>
  • 相关阅读:
    Mysql锁机制介绍
    开启Mysql慢查询来优化mysql
    开启mysql慢查询日志并使用mysqldumpslow命令查看
    MySQL MyISAM/InnoDB高并发优化经验
    UIPageControl
    UIPikerView的属性
    UIScrollView
    UISement属性
    UISlide属性
    UISwitch
  • 原文地址:https://www.cnblogs.com/habin/p/2600527.html
Copyright © 2011-2022 走看看