<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Jquery Mobile Web Page</title>
<link href="~/Content/css/themes/default/jquery.mobile.structure-1.4.0-beta.1.min.css" rel="stylesheet" />
<link href="~/Content/css/themes/default/jquery.mobile-1.4.0-beta.1.min.css" rel="stylesheet" />
<script src="~/Content/js/jquery.js"></script>
<script src="~/Content/js/jquery.mobile-1.4.0-beta.1.js"></script>
</head>
<body> <div data-role="page" id="page">
<h1>对话框效果</h1>
<div data-role="content">
<ul data-role="listview">
<li><a href="#dialog" data-rel="dialog" data-transition="pop">默认是 pop 效果</a></li>
<li><a href="#dialog" data-rel="dialog" data-transition="slide">slide 效果</a></li>
<li><a href="#dialog" data-rel="dialog" data-transition="fade">fade 效果</a></li>
<li><a href="#dialog" data-rel="dialog" data-transition="flip">flip 效果</a></li>
<li><a href="#dialog" data-rel="dialog" data-transition="turn">turn 效果</a></li>
<li><a href="#dialog" data-rel="dialog" data-transition="flow">flow 效果</a></li>
<li><a href="#dialog" data-rel="dialog" data-transition="slidefade">slidefade 效果</a></li>
<li><a href="#dialog" data-rel="dialog" data-transition="slideup">slideup 效果</a></li>
<li><a href="#dialog" data-rel="dialog" data-transition="slidedown">slidedown 效果</a></li>
<li><a href="#dialog" data-rel="dialog" data-transition="none">none 效果</a></li>
</ul>
</div> <h1>按钮效果</h1>
<button>普通按钮</button>
<input value="Input" type="button" />
<input value="提交" type="submit" />
<input value="重置" type="reset" /> <a href="default" data-role="button">超链接标签按钮</a> <a href="default" data-role="button" data-inline="true">内联按钮</a>
<br />
<a href="default" data-role="button" data-theme="a" data-inline="true">A</a>
<a href="default" data-role="button" data-theme="b" data-inline="true">B</a> <br />
<a href="default" data-role="button" data-mini="true">Data-Mini</a>
<a href="default" data-role="button" data-mini="true" data-inline="true">小内联按钮</a>
<br />
<p><strong>Bars</strong> - data-icon="bars"</p>
<a href="default" data-role="button" data-icon="bars" data-mini="true" data-inline="true">按钮</a>
<p><strong>Edit</strong> - data-icon="edit"</p>
<a href="default" data-role="button" data-icon="edit" data-mini="true" data-inline="true">按钮</a>
<p><strong>Left arrow</strong> - data-icon="arrow-l"</p>
<a href="default" data-role="button" data-icon="arrow-l" data-mini="true" data-inline="true">按钮</a>
<p><strong>Right arrow</strong> - data-icon="arrow-r"</p>
<a href="default" data-role="button" data-icon="arrow-r" data-mini="true" data-inline="true">按钮</a>
<p><strong>Up arrow</strong> - data-icon="arrow-u"</p>
<a href="default" data-role="button" data-icon="arrow-u" data-mini="true" data-inline="true">按钮</a>
<p><strong>Down arrow</strong> - data-icon="arrow-d"</p>
<a href="default" data-role="button" data-icon="arrow-d" data-mini="true" data-inline="true">按钮</a>
<p><strong>Delete</strong> - data-icon="delete"</p>
<a href="default" data-role="button" data-icon="delete" data-mini="true" data-inline="true">按钮</a>
<p><strong>Plus</strong> - data-icon="plus"</p>
<a href="default" data-role="button" data-icon="plus" data-mini="true" data-inline="true">按钮</a>
<p><strong>Minus</strong> - data-icon="minus"</p>
<a href="default" data-role="button" data-icon="minus" data-mini="true" data-inline="true">按钮</a>
<p><strong>Check</strong> - data-icon="check"</p>
<a href="default" data-role="button" data-icon="check" data-mini="true" data-inline="true">按钮</a>
<p><strong>Gear</strong> - data-icon="gear"</p>
<a href="default" data-role="button" data-icon="gear" data-mini="true" data-inline="true">按钮</a>
<p><strong>Refresh</strong> - data-icon="refresh"</p>
<a href="default" data-role="button" data-icon="refresh" data-mini="true" data-inline="true">按钮</a>
<p><strong>Forward</strong> - data-icon="forward"</p>
<a href="default" data-role="button" data-icon="forward" data-mini="true" data-inline="true">按钮</a>
<p><strong>Back</strong> - data-icon="back"</p>
<a href="default" data-role="button" data-icon="back" data-mini="true" data-inline="true">按钮</a>
<p><strong>Grid</strong> - data-icon="grid"</p>
<a href="default" data-role="button" data-icon="grid" data-mini="true" data-inline="true">按钮</a>
<p><strong>Star</strong> - data-icon="star"</p>
<a href="default" data-role="button" data-icon="star" data-mini="true" data-inline="true">按钮</a>
<p><strong>Alert</strong> - data-icon="alert"</p>
<a href="default" data-role="button" data-icon="alert" data-mini="true" data-inline="true">按钮</a>
<p><strong>Info</strong> - data-icon="info"</p>
<a href="default" data-role="button" data-icon="info" data-mini="true" data-inline="true">按钮</a>
<p><strong>Home</strong> - data-icon="home"</p>
<a href="default" data-role="button" data-icon="home" data-mini="true" data-inline="true">按钮</a>
<p><strong>Search</strong> - data-icon="search"</p>
<a href="default" data-role="button" data-icon="search" data-mini="true" data-inline="true">按钮</a>
<br />
<a href="#" data-role="button" data-icon="bars" data-iconpos="notext" data-theme="b" data-inline="true">Bars</a>
<a href="#" data-role="button" data-icon="edit" data-iconpos="notext" data-theme="b" data-inline="true">Edit</a>
<a href="#" data-role="button" data-icon="arrow-l" data-iconpos="notext" data-theme="b" data-inline="true">Arrow left</a>
<a href="#" data-role="button" data-icon="arrow-r" data-iconpos="notext" data-theme="b" data-inline="true">Arrow right</a>
<a href="#" data-role="button" data-icon="arrow-u" data-iconpos="notext" data-theme="b" data-inline="true">Arrow up</a>
<a href="#" data-role="button" data-icon="arrow-d" data-iconpos="notext" data-theme="b" data-inline="true">Arrow down</a>
<a href="#" data-role="button" data-icon="delete" data-iconpos="notext" data-theme="b" data-inline="true">Delete</a>
<a href="#" data-role="button" data-icon="plus" data-iconpos="notext" data-theme="b" data-inline="true">Plus</a>
<a href="#" data-role="button" data-icon="minus" data-iconpos="notext" data-theme="b" data-inline="true">Minus</a>
<a href="#" data-role="button" data-icon="check" data-iconpos="notext" data-theme="b" data-inline="true">Check</a>
<a href="#" data-role="button" data-icon="gear" data-iconpos="notext" data-theme="b" data-inline="true">Gear</a>
<a href="#" data-role="button" data-icon="refresh" data-iconpos="notext" data-theme="b" data-inline="true">Refresh</a>
<a href="#" data-role="button" data-icon="forward" data-iconpos="notext" data-theme="b" data-inline="true">Forward</a>
<a href="#" data-role="button" data-icon="back" data-iconpos="notext" data-theme="b" data-inline="true">Back</a>
<a href="#" data-role="button" data-icon="grid" data-iconpos="notext" data-theme="b" data-inline="true">Grid</a>
<a href="#" data-role="button" data-icon="alert" data-iconpos="notext" data-theme="b" data-inline="true">Alert</a>
<a href="#" data-role="button" data-icon="info" data-iconpos="notext" data-theme="b" data-inline="true">Info</a>
<a href="#" data-role="button" data-icon="home" data-iconpos="notext" data-theme="b" data-inline="true">Home</a>
<a href="#" data-role="button" data-icon="search" data-iconpos="notext" data-theme="b" data-inline="true">Search</a>
<br /> <a href="default" data-role="button" data-icon="arrow-l" data-iconpos="left" data-mini="true" data-inline="true">上一页</a>
<a href="default" data-role="button" data-icon="arrow-r" data-iconpos="right" data-mini="true" data-inline="true">下一页</a>
<br />
<a href="default" data-role="button" data-icon="arrow-u" data-iconpos="top" data-mini="true">返回顶部</a>
<a href="default" data-role="button" data-icon="arrow-d" data-iconpos="bottom" data-mini="true">查看更多</a> <br />
垂直按钮组
<div data-role="controlgroup">
<a href="#" data-role="button">按钮I</a>
<a href="#" data-role="button">按钮II</a>
<a href="#" data-role="button">按钮III</a>
</div>
水平按钮组
<div data-role="controlgroup" data-type="horizontal">
<a href="#" data-role="button">按钮I</a>
<a href="#" data-role="button">按钮II</a>
<a href="#" data-role="button">按钮III</a>
</div>
迷你水平按钮组
<div data-role="controlgroup" data-type="horizontal" data-mini="true">
<a href="#" data-role="button">按钮I</a>
<a href="#" data-role="button">按钮II</a>
<a href="#" data-role="button">按钮III</a>
</div>
<br />
<a href="#" class="ui-btn ui-state-disabled">UI禁用按钮</a>
<button disabled="">禁用按钮</button>
</div> <div data-role="page" id="dialog">
<div data-role="header">
<h1>用于对话框效果测试</h1>
</div>
<div data-role="content">
用于内容效果测试
</div>
<div data-role="footer">
<h4>Asp.Net Mvc 4.0 +JqueryMobile 1.4.0-beta 1</h4>
</div>
</div> </body>
</html>

主攻ASP.NET MVC4.0之重生:Jquery Mobile 按钮+对话框使用的更多相关文章

  1. 主攻ASP.NET MVC4.0之重生:Jquery Mobile 列表

    代码: <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title ...

  2. 主攻ASP.NET MVC4.0之重生:Jquery Mobile 表单元素

    相关代码: <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <tit ...

  3. 主攻ASP.NET MVC4.0之重生:Jquery Mobile 面板

    左滑动面板效果: 右滑动面板效果: @{ ViewBag.Title = "JQuery Mobile Web Page"; } <!DOCTYPE html> < ...

  4. 主攻ASP.NET MVC4.0之重生:ASP.NET MVC使用JSONP

    原文:主攻ASP.NET MVC4.0之重生:ASP.NET MVC使用JSONP 原文地址 http://www.codeguru.com/csharp/.net/net_asp/using-jso ...

  5. 主攻ASP.NET MVC4.0之重生:Asp.Net MVC WebApi OData

    1.新建MVC项目,安装OData Install-Package Microsoft.AspNet.WebApi.OData -Version 4.0.0 2.新建WebAPI Controller ...

  6. 主攻ASP.NET MVC4.0之重生:ASP.NET MVC Web API

    UserController代码: using GignSoft.Models; using System; using System.Collections.Generic; using Syste ...

  7. 主攻ASP.NET MVC4.0之重生:CheckBoxListHelper和RadioBoxListHelper的使用

    在项目中新建Helpers文件夹,创建CheckBoxListHelper和RadioBoxListHelper类. CheckBoxListHelper代码 using System; using ...

  8. 主攻ASP.NET MVC4.0之重生:MVC Controller修改Controller.tt模版,自动添加版本注释信息

    第一步找到MVC 4.0 CodeTemplates 一般路径在:C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\Ite ...

  9. 主攻ASP.NET MVC4.0之重生:上下滑动屏幕动态加载数据

                @{ ViewBag.Title = "Index"; } <!DOCTYPE html> <html> <head> ...

随机推荐

  1. 在linux下使用curl

    使用curl从 ftp下载文件 curl ftp://192.168.31.164/lrzsz-0.12.20.tar.gz --user root:123456 -o lrzsz-0.12.20.t ...

  2. [已解决]windows下python3.x与python2.7共存版本pip使用报错问题

    > 由于最近要更新插件,突然发现没法使用pip来安装升级插件,查了一圈才找到解决办法,特记录在此,便于其它人查询. 报错信息如下: Fatal error in launcher: Unable ...

  3. 涉及spring的相关概念

    1.pojo 2.为了降低java开发的复杂性,spring采用了4中策略 (1).基于POJO的轻量级和最小侵入性编程 (2).通过依赖注入和接口编程实现松耦合 (3).基于切面和惯例进行声明式编程 ...

  4. Java StuNote 1

    1. JAVA语言历史 无心插柳柳成荫,有心栽花花不开. JAVA由SUN Microsystem公司研发. 2. JAVA语言特点 a) 跨平台.一次编译.到处执行. b) 速度慢.但非常稳定, 没 ...

  5. webservice 使用axis2实现

    Axis2 是Apache的:使用下载 :org.apache.axis2.eclipse.service.plugin_1.6.2.jar org.apache.axis2.eclipse.code ...

  6. Cocos2d-x Lua中多场景切换生命周期

    在多个场景切换时候,场景的生命周期会更加复杂.这一节我们介绍一下场景切换生命周期.多个场景切换时候分为几种情况:情况1,使用pushScene函数从实现GameScene场景进入SettingScen ...

  7. L - Points on Cycle(旋转公式)

    L - Points on Cycle Time Limit:1000MS     Memory Limit:32768KB     64bit IO Format:%I64d & %I64u ...

  8. NetCore

    正确理解DTO.值对象和POCO https://www.cnblogs.com/redmoon/archive/2015/04/29/4467485.html ASP.NET Core 配置系统 h ...

  9. android菜鸟学习笔记28----Android中的Service生命周期及本地和远程服务绑定的实现

    Service是Android中长期在后台运行的没有界面的组件,使用服务的优势在于:能够提高进程的优先级,系统不容易回收掉进程,即便回收了,内存充足的时候,会把进程重新创建. 1.服务的简单使用示例: ...

  10. Java 科学计数法

    目录 Java 科学计数法 1 科学计数法的概念 1.1 有效数字 1.2 E记号 2 Java中的科学计数法 2.1 NumberFormat 2.2 DecimalFormat 2.3 BigDe ...