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>
jquery mobile demo的更多相关文章
- html5文章 -- 使用 jQuery Mobile 与 HTML5 开发 Web App —— jQuery Mobile 基础
这篇文章是使用 jQuery Mobile 与 HTML5 开发 Web App 系列的第二篇,在本文以及接下来的数篇文章 Kayo 将会介绍 jQuery Mobile 的组件.事件响应以及可以调用 ...
- [转]使用 jQuery Mobile 与 HTML5 开发 Web App —— jQuery Mobile 事件详解
在前文<使用 jQuery Mobile 与 HTML5 开发 Web App —— jQuery Mobile 默认配置与事件基础>中,Kayo 对 jQuery Mobile 事件的基 ...
- 手机新闻网站,手持移动新闻,手机报client,jQuery Mobile手机新闻网站,手机新闻网站demo,新闻阅读器开发
我们坐在地铁.经常拿出新浪手机查看新闻.腾讯新闻,或者看新闻,等刷微信功能.你有没有想过如何实现这些目标. 移动互联网.更活泼. 由于HTML5未来,jQuery Moblie未来. 今天我用jqm的 ...
- 手机新闻网站,掌上移动新闻,手机报client,jQuery Mobile手机新闻网站,手机新闻网站demo,新闻阅读器开发
我们坐在地铁,经常来查看新浪手机新闻,腾讯新闻.或者刷微信看新闻更多功能.你有没有想过如何实现这些目标.移动互联网,更活泼. 因为HTML5到,jQuery Moblie到.今天我用jqm为了给你一个 ...
- jQuery Mobile入门
转:http://www.cnblogs.com/linjiqin/archive/2011/07/17/2108896.html 简介:jQuery Mobile框架可以轻松的帮助我们实现非常好看的 ...
- jquery.mobile手机网页简要
先上最终效果: 最近做了一个用手机浏览器访问的web应用,采用较流行的HTML5,为了提高开发效率节省时间决定采用现有开源框架,免去了自己做设计与兼容性. 一些比较优秀的框架:10大优秀的移动Web应 ...
- Jquery mobile 新手问题总汇
1页面缩放显示问题 问题描述: 页面似乎被缩小了,屏幕太宽了. 解决办法: 在head标签内加入: <meta name="viewport" content="w ...
- jQuery Mobile的基本使用
本人是软件开发的初学者,总结了一点点日常所学,记录在此,主要目的是鼓励自己坚持学习,怕有一天忘记了,还能复习曾经学过的知识点. 如有大神路过为我指点迷津,纠正改错更是感激不尽,但请不要喷我这个菜鸟!谢 ...
- [转载]Jquery mobile 新手问题总汇
原文链接:http://www.wglong.com/main/artical!details?id=4 此文章将会持续更新,主要收录一些新手比较常见的问题. 欢迎 向我推荐比较典型的常见问题,我会记 ...
随机推荐
- 求x>0时,y=x^3-6x^2+15的极值
解: 当x→∞时,y也→∞,所以y没有最大值. y=x3-6x2+15=-4*(x/2)*(x/2)*(6-x)+15 而根据几何平均数小于等于算术平均数的定理,(x/2)*(x/2)*(6-x)在x ...
- Redis Cluster集群的搭建
redis集群搭建原理: redis是单线程,但是一般的作为缓存使用的话,redis足够了,因为它的读写速度太快了. 官方的一个简单测试: 测试完成了50个并发执行100000个请求. 设置和获取 ...
- SpringMVC响应Restful风格请求404
在学习Springmvc时,使用Restful风格的url,页面提示404错误.为找到原因,编写一个简单的Restful测试用例如下: jsp页面: <a href="user/tes ...
- 【BIEE】MDS-01377:无法从使用 JNDI 名称 “jdbc/mds/owsm” 配置的数据源获取数据库连接
这是一次意外关机情况,BIEE环境是window server2008,但是一次意外情况,BIEE自动关机了,造成开启成功新启动BIEE产生如下错误: 错误产生后,倒腾了半天,并没发现什么问题,只是通 ...
- Visual studio之C# 重新定义Messbox的显示窗口位置
背景 当前做的APP需要新建一个设置窗口,该设置窗口会出现在靠近屏幕边缘位置,但主窗口铺满屏幕,设置窗口会弹出一些讯息,但默认情况下Messagebox窗口会居中于主窗口,这不太符合要求,正常应该居中 ...
- CodeIgniter 无法上传 CSV 文件
本篇文章由:http://xinpure.com/codeigniter-unable-to-upload-a-csv-file/ 解决 CodeIgniter 中使用 Upload 类无法上传 CS ...
- css盒子模型及属性介绍(margin,padding)
每个HTML元素都可以看作装了东西的盒子 盒子具有宽度(width)和高度(height) 盒子里面的内容到盒子的边框之间的距离即填充(margin) 盒子本身有边框(border) 而盒子边框外和其 ...
- 使用Openssl创建证书
概述 SSL证书通过在客户端浏览器和Web服务器之间建立一条SSL安全通道(Secure socketlayer(SSL),SSL安全协议主要用来提供对用户和服务器的认证:对传送的数据进行加密和隐藏: ...
- PHP连接Azure Redis
概述 Azure Redis缓存基于流行的开源Redis缓存,可以通过各种Redis客户端进行访问,这些客户端适用于许多编程语言.每个客户端有自身的API,用于通过Redis命令调用Redis缓存实例 ...
- ubuntu彻底干净卸载MySQL、Apache2、Php的方法(各版本通用
一.卸载删除 mysql 1 sudo apt-get autoremove --purge mysql-server-5.0 2 sudo apt-get remove mysql-server ...