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设计的登陆界面,属于一个实验性的界面窗体,如果用于产品还很有不足.但也是有一点学习价值.后台代码略有复杂,但基本上都有注释 分类,略有代码经验的一般都能看懂. 登陆界面外 ...
随机推荐
- POJ 3342 (树形DP)
题意 :给出一些上下级关系,要求i和i的直接上级不能同时出现,现在选出一些人构成一个集合,问你这个集合里面的最大人数是都少,同时给出这个最大的人数的集合是否唯一. 思路:树形DP,dp[i][0],表 ...
- [转]优化数据库大幅度提高Oracle的性能
几个简单的步骤大幅提高Oracle性能--我优化数据库的三板斧. 数据库优化的讨论可以说是一个永恒的主题.资深的Oracle优化人员通常会要求提出性能问题的人对数据库做一个statspack,贴出数据 ...
- wuzhicms刷新按钮的功能开发
这个刷新按钮可以刷新当前框架的页面. 但有的页面使用了弹窗打开后,再点击刷新就会打开之前的弹窗页面. 如: 再刷新的时候,这个框架内容就变了.而这里,我们实际需要刷新的是列表页面 打开这个程序的具体文 ...
- Clean Code – Chapter 5 Formatting
The Purpose of Formatting Code formatting is about communication, and communication is the professio ...
- Weka-学习
1.在java中使用Weka的eclipse配置方法 http://ianma.wordpress.com/2010/01/16/weka-with-java-eclipse-getting-star ...
- Android ListView 全面优化
结合昨天学习的多线程,今天又继续对ListView进行了优化,包括异步加载图片,滑动时暂停加载,滑动停止后再加载显示界面中的item. 综合ListView在使用时参考的多篇博客,这里对ListVie ...
- HW2.19
public class Solution { public static void main(String[] args) { char outcome; long randomNumber; wh ...
- linux select 与 阻塞( blocking ) 及非阻塞 (non blocking)实现io多路复用的示例
除了自己实现之外,还有个c语言写的基于事件的开源网络库:libevent http://www.cnblogs.com/Anker/p/3265058.html 最简单的select示例: #incl ...
- WeUI首页、文档和下载 - 专为微信设计的 UI 库 - 开源中国社区
Download Bitnami Review Board Stack click here WeUI首页.文档和下载 - 专为微信设计的 UI 库 - 开源中国社区
- gridview合并单元格
记录用,以前写过,忘记了转自:http://marss.co.ua/MergingCellsInGridView.aspx public class GridDecorator { public st ...