zoukankan      html  css  js  c++  java
  • jquery mobile demo

    <!DOCTYPE html>
    <html>
    <head>
        <title>jQuery Mobile Demo</title>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <link rel="stylesheet" href="http://code.jquery.com/mobile/1.0/jquery.mobile-1.0.min.css" />
        <script type="text/javascript" src="http://code.jquery.com/jquery-1.6.4.min.js"></script>
        <script type="text/javascript" src="http://code.jquery.com/mobile/1.0/jquery.mobile-1.0.min.js"></script>
    </head>
    
    <body>
    
    <div data-role="page" id="home">
    
        <header data-role="header">
            <h1>jQuery Mobile Demo</h1>
        </header>
    
        <div data-role="content">
    
        <div data-role="fieldcontain">
            <label for="text">文本输入框</label>
            <input type="text" name="text" id="text" value=""  />
        </div>
    
        <div data-role="fieldcontain">
            <label for="textarea">文本输入域</label>
            <textarea cols="40" rows="8" name="textarea" id="textarea"></textarea>
        </div>
    
        <div data-role="fieldcontain">
            <label for="search">搜索输入框</label>
            <input type="search" name="search" id="search" value="" />
        </div>
        
        <div data-role="fieldcontain">
            <fieldset data-role="controlgroup">
                <legend>单选框:</legend>
                <input type="radio" name="radio-choice-1" id="radio-choice-1" value="choice-1" />
                <label for="radio-choice-1"></label>
                <input type="radio" name="radio-choice-1" id="radio-choice-2" value="choice-2"  />
                <label for="radio-choice-2">绿</label>
                <input type="radio" name="radio-choice-1" id="radio-choice-3" value="choice-3"  />
                <label for="radio-choice-3"></label>
            </fieldset>
        </div>
    
        <div data-role="fieldcontain">
            <fieldset data-role="controlgroup">
                <legend>复选框</legend> 
                <input type="checkbox" name="blue" id="effect1" class="custom" /> 
                <label for="effect1">效果1</label>
                <input type="checkbox" name="green" id="effect2" class="custom" />
                <label for="effect2">效果2</label>
                <input type="checkbox" name="pink" id="effect3" class="custom"  />
                <label for="effect3">效果3</label>
            </fieldset>
        </div>
        
        <div data-role="fieldcontain">
            <fieldset data-role="controlgroup" data-type="horizontal">
                <legend>复选框</legend> 
                <input type="checkbox" name="horizon-blue" id="horizon-effect1" class="custom" /> 
                <label for="horizon-effect1">效果1</label>
                <input type="checkbox" name="horizon-green" id="horizon-effect2" class="custom" />
                <label for="horizon-effect2">效果2</label>
                <input type="checkbox" name="horizon-pink" id="horizon-effect3" class="custom"  />
                <label for="horizon-effect3">效果3</label>
            </fieldset>
        </div>
            
        <div data-role="fieldcontain">
            <label for="select-choice-1" class="select">选择列表</label>
            <select data-native-menu="false" name="select-choice-1" id="select-choice-1">
                <option value="12h">12小时</option>
                <option value="1d">一天</option>
                <option value="2d">两天</option>
                <option value="week">一周</option>
            </select>
        </div>
        
        <div data-role="fieldcontain">
            <label for="select-choice-2" class="select">多项选择列表</label>
            <select data-native-menu="false" multiple="multiple" name="select-choice-2" id="select-choice-2">
                <option value="12h">12小时</option>
                <option value="1d">一天</option>
                <option value="2d">两天</option>
                <option value="week">一周</option>
            </select>
        </div>
        
        <div data-role="fieldcontain">
            <label for="select-choice-3" class="select">分组选择列表</label>
            <select data-native-menu="false" name="select-choice-3" id="select-choice-3">
                <optgroup label="Group1">
                    <option value="12h">12小时</option>
                    <option value="1d">一天</option>
                    <option value="2d">两天</option>
                    <option value="week">一周</option>
                </optgroup>
                <optgroup label="Group2">
                    <option value="1m">一个月</option>
                    <option value="1q">一季度</option>
                    <option value="1y">一年</option>
                </optgroup>
            </select>
        </div>
    
        <div data-role="fieldcontain">
            <label for="slider">开关</label>
            <select name="slider" id="slider" data-role="slider">
                <option value="off">关闭</option>
                <option value="on">开启</option>
            </select> 
        </div>
    
        <div data-role="fieldcontain">
            <label for="slider">滑杆</label>
            <input type="range" name="slider" id="slider" value="0" min="0" max="100"  />
        </div>
    
        </div>
    
        <footer data-role="footer">
            <h2>Demo By <a href="http://kayosite.com" target="_blank" style="text-decoration: none; ">Kayo</a></h2>
        </footer>
    
    </div>
    
    </body> 
    </html>
  • 相关阅读:
    Altium Designer下载和安装
    python中的filter()函数
    Python基础
    Linux系统中的操作命令
    Linux、Windows中的mysql数据库操作语句
    在运行Django项目时,出现127.0.0.1 拒绝了我们的连接请求
    Django的model类新增字段重新迁移时出错 django.db.utils.OperationalError: (1054, "Unknown column 'course.course_image' in 'field list'")
    使用DataGrip删除数据表
    Windows系统下安装Redis
    Python生成随机验证码需要导入ttf字体文件
  • 原文地址:https://www.cnblogs.com/hellowzd/p/4273833.html
Copyright © 2011-2022 走看看