- 博客(14)
- 收藏
- 关注
原创 jQuery Mobile 表单选择菜单
Iphone 上的选择菜单:Android/SGS4 设备上的选择菜单:<select> 元素创建带有若干选项的下拉列表。<select> 元素内的 <option> 元素定义了列表中的可用选项:<form method="post" action="demoform.html"><fieldset class="ui-field-contain"><label for="day">Select Day</label><select name="day" id="day"><option value
2025-02-09 11:00:00
903
原创 jQuery Mobile 表单滑动条
jQuery Mobile 滑动条控件滑动条允许您从一个范围的数字中选择一个值:如需创建滑动条,请使用 <input type="range">:实例<form method="post" action="demoform.php"> <label for="points">进度:</label> <input type="range" name="points" id="points" value="50" min="0" max="100"></form>尝试一下 »使用
2025-02-09 07:30:00
507
原创 jQuery Mobile 表单输入元素
jQuery Mobile 文本输入框输入字段是通过标准的 HTML 元素编码的,jQuery Mobile 将为它们添加样式使其看起来更具吸引力,在移动设备上更易使用。您也能使用新的 HTML5 的 <input> 类型:实例<form method="post" action="demo_form.php"><div class="ui-field-contain"><label for="fullname">全名:</label><input type="text" name="full
2025-02-08 10:00:00
655
原创 jQuery Mobile 页面事件
页面过渡涉及两个页面:一张"来"的页面和一张"去"的页面 - 这些过渡使当前活动页面("来的"页面)到新页面("去的"页面的改变过程变得更加动感。$(document).on("pagebeforehide","#pagetwo",function(){ // 当进入页面二时。$(document).on("pagebeforeshow","#pagetwo",function(){ //当进入页面二时。alert("页面二即将显示");alert("现在显示页面二");alert("页面二即将隐藏");
2025-02-07 10:15:00
890
原创 jQuery Mobile CSS 类
jQuery Mobile 提供了两个主题类: a (灰) 和 b (黑)。但是,你可以创建你自己的自定义类 - 可定义到字母 "z" (查看。字母 (a-z) 意为样式可以指定 a 到 z。例如 ui-bar-a 或 ui-bar-b等。网格中的列是等宽的(合计是 100%),没有边框、背景、margin 或 padding。以下类可以在 jQuery Mobile 小工具中使用 (按钮,工具条,面板,表格,列表等。所有可用图片的类用在 <a> 和 <button> 元素上 (查看。
2025-02-07 10:00:00
1847
原创 jQuery Mobile Data 属性
带有 data-role="button" 的超链接。带有 data-role="header" 或 data-role="footer",并带有 data-position="fixed" 属性的容器。在带有 data-role="collapsible" 的容器内部的后跟任意 HTML 标记的标题元素。带有 data-role="dialog" 的容器或带有 data-rel="dialog" 的链接。带有 data-enhance="false" 或 data-ajax="false" 的容器。
2025-02-06 08:30:00
1663
原创 ASP.NET Web Pages - 文件夹
Server.MapPath 方法将虚拟路径(/index.html)转换成服务器能理解的物理路径(C:\Documents\MyWebSites\Demo\default.html)。如果您使用虚拟路径,当您更改域名或者将您的网页移到其他服务器上时,您可以不用更新路径。Href 方法将代码中的使用的路径转换成浏览器可以理解的路径(浏览器无法理解 ~ 运算符)。在本教程的下一章中,您会学到更多关于读取(和写入)服务器上的数据文件的知识。在您的代码中,根据您的编码需要决定使用物理路径和和虚拟路径。
2025-02-05 09:38:25
767
原创 jQuery Mobile 主题
jQuery Mobile 提供了 2 种不同的主题样式, 从 "a" 到 "b" - 每一种主题的按钮,工具条,内容块等等颜色都不一致,每个主题的视觉效果也不一样。
2025-02-03 06:00:00
989
原创 jQuery Mobile 页面
访问外部文件</a><a href="#pagetwo">跳转到第二个页面</a><a href="#pageone">跳转到第一个页面</a><a href="#pagetwo">跳转到第二个页面</a><a href="#pageone">跳转到第一个页面
2025-02-02 11:36:40
1166
原创 jQuery Mobile 安装
- meta使用viewport以确保页面可自由缩放 -->-- meta使用viewport以确保页面可自由缩放 -->如果你想将 jQuery Mobile 放于你的主机中,你可以从。-- 引入 jQuery Mobile 样式 -->-- 引入 jQuery Mobile 样式 -->-- 引入 jQuery Mobile 库 -->-- 引入 jQuery Mobile 库 -->-- 引入 jQuery 库 -->-- 引入 jQuery 库 -->本教程引用的库为百度 CDN 资源库。
2025-02-02 11:36:04
1336
1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅