3s自动跳转到登陆界面
cdn资源
Bootstrap是Twitter推出的一个用于前端开发的开源工具包。它由Twitter的设计师Mark Otto和Jacob Thornton合作开发,是一个CSS/HTML框架。Bootstrap中文网致力于为广大国内开发者提供详尽的中文文档、代码实例等,助力开发者掌握并使用这一框架。 1、Bootstrap中文网cdn加速点
http://cdn.bootcss.com/bootstrap/3.2.0/css/bootstrap-theme.css
http://cdn.bootcss.com/bootstrap/3.2.0/css/bootstrap.min.css
http://cdn.bootcss.com/bootstrap/3.2.0/css/bootstrap-theme.css.map
http://cdn.bootcss.com/bootstrap/3.2.0/css/bootstrap.css
http://cdn.bootcss.com/bootstrap/3.2.0/css/bootstrap.css.map
http://cdn.bootcss.com/bootstrap/3.2.0/css/bootstrap.min.css 2、加速乐Bootstrap cdn加速点
http://mini.jiasule.com/framework/bootstrap/2.3.1/css/bootstrap.min.css
http://mini.jiasule.com/framework/bootstrap/2.3.1/js/bootstrap.min.js
http://mini.jiasule.com/framework/bootstrap/2.3.1/css/bootstrap-responsive.min.css 3、百度Bootstrap cdn 加速点
http://apps.bdimg.com/libs/bootstrap/3.2.0/css/bootstrap-theme.min.css
http://apps.bdimg.com/libs/bootstrap/3.2.0/css/bootstrap.min.css
http://apps.bdimg.com/libs/bootstrap/3.2.0/fonts/glyphicons-halflings-regular.eot
http://apps.bdimg.com/libs/bootstrap/3.2.0/fonts/glyphicons-halflings-regular.svg
http://apps.bdimg.com/libs/bootstrap/3.2.0/fonts/glyphicons-halflings-regular.ttf
http://apps.bdimg.com/libs/bootstrap/3.2.0/fonts/glyphicons-halflings-regular.woff
http://apps.bdimg.com/libs/bootstrap/3.2.0/js/bootstrap.min.js http://apps.bdimg.com/libs/bootstrap/2.3.2/css/bootstrap-responsive.min.css
http://apps.bdimg.com/libs/bootstrap/2.3.2/css/bootstrap.min.css
http://apps.bdimg.com/libs/bootstrap/2.3.2/js/bootstrap.min.js
http://apps.bdimg.com/libs/bootstrap/2.3.2/img/glyphicons-halflings-white.png
http://apps.bdimg.com/libs/bootstrap/2.3.2/img/glyphicons-halflings.png bootstrap使用cdn加速点的好处就是可以最大限度节省我们主机的带宽、节省网页加载时间,从而为网站用户提供更快、更好的体验。 bootstrap使用方法
在页面代码< head >...< /head >中插入如下链接即可
前缀规范
每个局部变量都需要有一个类型前缀,按照类型可以分为:
s:表示字符串。例如:sName,sHtml;
n:表示数字。例如:nPage,nTotal;
b:表示逻辑。例如:bChecked,bHasLogin;
a:表示数组。例如:aList,aGroup;
r:表示正则表达式。例如:rDomain,rEmail;
f:表示函数。例如:fGetHtml,fInit;
o:表示以上未涉及到的其他对象,例如:oButton,oDate;

<!DOCTYPE html>
<html class="error-page">
<head>
<title>404 error page</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <!-- Bootstrap -->
<link rel="stylesheet" media="screen" href="http://apps.bdimg.com/libs/bootstrap/3.2.0/css/bootstrap.min.css"> <!-- Bootstrap Admin Theme -->
<!-- Bootstrap Error Page -->
<script type="text/javascript" src="http://libs.baidu.com/jquery/2.0.0/jquery.min.js"></script>
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="js/static/html5shiv.js"></script>
<![endif]-->
</head>
<body> <!-- content -->
<div class="container-fluid">
<div class="row-fluid">
<div class="col-lg-12">
<div class="centering text-center" style="margin-top: 10%;">
<div class="text-center">
<h2 class="without-margin">
<span class="text-success"><big>404</big></span> 错误.
</h2>
<h4 class="text-success">没有该项资源</h4>
<div>页面将在<span id="num"></span>秒后跳转...<br/></div>
</div> </div>
</div>
</div>
</div> </body>
<script type="text/javascript">
var count=8;
$(document).ready(function() {
function jump() {
window.setTimeout(function () {
count--;
if (count > 0) {
$('#num').html(count);
jump(count);
} else {
location.href = "login.html";
}
}, 1000);
} jump(3);
});
</script>
</html>
3s自动跳转到登陆界面的更多相关文章
- session过期后自动跳转到登陆页
项目需要做一个自动登出的功能,查询了网上的资料,一开始准备用session监听做,按照下面方式配置监听器 1.在项目的web.xml文件中添加如下代码: <!--添加Session监听器--&g ...
- 利用.Net自带的票据完成BaseController的未登陆自动跳转到登陆页功能
一:定义票据中要记录的字段类 /// <summary> /// 用户存在于浏览器端的身份票据(非持久) /// 非持久 FormsAuthenticationTicket 的isPers ...
- 当session过期后自动跳转到登陆页而且会跳出iframe框架
写项目时在重定向后一直存在一个问题就是重定向后登陆页面会出现在跳出的子框架里.
- Android中自动跳转到系统设置界面
// 转到手机设置界面,用户设置GPS Intent intent = new Intent( Settings.ACTION_LOCATION_SOURCE_SETTINGS); startActi ...
- JS 控制页面超时后自动跳转到登陆页面
<span style="font-size: small;"><script language="javascript"> var m ...
- Android关于界面一定时间无操作自动跳转到指定界面的实现
主要用到的功能,自定义一个定时器CountTimer继承CountDownTimer. public class CountTimer extends CountDownTimer { private ...
- selenium+python自动化用例登陆界面模板
一.基本逻辑 1.自动填写用户名和密码登录成功后跳转到相应页面 2.验证相应页面的url与给定的url是否一致,如果一致则测试通过,如果不一致则不通过 二.以jenkins登陆界面为例,代码如下 fr ...
- HTML5做的浏览器欢迎界面自动跳转
HTML5做的浏览器欢迎界面自动跳转 思路很简单,随手装逼呗.根据时间来控制背景图和文字,背景图加了毛玻璃效果,效果直接看图,用javascript来实现. 完整代码 <!DOCTYPE htm ...
- 一个简单WPF登陆界面,包含记住密码,自动登录等功能,简洁美观
简介:这是一个自己以前用WPF设计的登陆界面,属于一个实验性的界面窗体,如果用于产品还很有不足.但也是有一点学习价值.后台代码略有复杂,但基本上都有注释 分类,略有代码经验的一般都能看懂. 登陆界面外 ...
随机推荐
- 【转】CString类型互转 int
CString类型互转 int 原文网址:http://www.cnitblog.com/Hali/archive/2009/06/25/59632.html CString类型的转换成int 将字 ...
- CodeForcesGym 100753B Bounty Hunter II 二分图最小路径覆盖
关键在建图 题解:http://www.cnblogs.com/crackpotisback/p/4856159.html 学习:http://www.cnblogs.com/jackiesteed/ ...
- 关于 UGUI 字体花屏或乱码。
我们项目从某个时候开始ui突然开始出现字体花屏现象(unity 开发版本:5.3.6p6),而且很难必现却又时有发生,确实查找和解决起来不太容易. 关于这个问题,uwa官方给出了解释,http://b ...
- 2015年9月28日html基础了解学习
数据库与C#都是在后台运行的逻辑,而html,css,js,jq是在网页前台显示的一些效果.后台要考虑到优化性能效率等等,而前台要吸引到客户,要有更好的客户体验. 通用化,还是效率更高,在做项目中是要 ...
- LCD platform_device(s5pv210)
devs.c: static struct resource s3cfb_resource[] = { [0] = { .start= S5P_PA_LCD, .end= S5P_PA_LCD + ...
- bzoj 2242 [SDOI2011]计算器(数论知识)
Description 你被要求设计一个计算器完成以下三项任务: 1.给定y,z,p,计算Y^Z Mod P 的值: 2.给定y,z,p,计算满足xy≡ Z ( mod P )的最小非负整数: 3.给 ...
- algorithm@ dijkstra algorithm & prim algorithm
#include<iostream> #include<cstdio> #include<cstring> #include<limits> #incl ...
- 动态规划之HDU水题
做水题的感觉真好系列 HDU 2084 数塔 1: 12: 1 23: 1 2 34: 1 2 3 45: 1 2 3 4 5 dp[i][j]第i行第j个数取得的最大值dp[i][j] = max( ...
- 关于arm处理器 内存编址模式 与 字节对齐方式 (转)
转自:http://bavon.bokee.com/5429805.html 在x86+Linux上写的程序,在PC机上运行得很好.可是使用ARM的gcc进行交叉编译,再送到DaVinci目标板上运行 ...
- 8-14-Exercise(博弈:HDU 1846 & HDU 1527 )
B.HDU 1846 Brave Game 算是最简单的入门博弈题吧...... 呃......我用的......算是不是方法的方法吧——找规律~ 可以发现:X-M为奇数时,先手会输:而为偶数的 ...