This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//调取负责人ajax | |
$(".c_fuze").click(function(e) { | |
//$("#add_fuzeren").empty(); | |
if ($("#add_fuzeren").html() == "" || 1 == 1) { | |
geta($("#add_fuzeren"), '/Works/plus/act/fuze', loadGif); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
JSName: 收集常用的js操作小技巧 | |
Description: 我常用的js操作技巧。来源于网络中的技术文章和自己工作需要写到的。不断更新中,是帮助我快速和高效开发前端效率的利器。 | |
Author: markyun | |
Email:[email protected] | |
Author URL: http://weibo.com/920802999 github:https://github.com/markyun | |
Version: 1.0 | |
UpdateTime:2013-4-15 | |
*/ | |
/*JS是“由对象创建对象,由对象定义对象”,而不是“由类创建对象,由类型定义对象”。*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*my97的Jquery插件 | |
<input class="my97" type="text"> | |
<input id="my97" type="text" name=""> | |
$('#my97').my97(options); | |
my97配置属性说明:http://www.my97.net/dp/demo/resource/3.asp | |
*/ | |
(function ($) { | |
$.fn.my97 = function (options, params) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
CssName: index_css | |
Description: | |
Author: markyun | |
Email:[email protected] | |
Author URL: http://weibo.com/920802999 | |
Version: 1.0 | |
UpdateTime:2013-4-18 | |
*/ | |
@charset "utf-8"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
源:玉伯 | |
document.hidden 是布尔值,true 表示页面可见,false 表示不可见。 | |
向后兼容 | |
为什么要是 document.hidden,而不是 document.visible?如果设计成 document.visible,那么 true 表示可见,false 表示不可见,是多么自然的事情啊。 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type="text/javascript"> | |
// <span style="color: red;" id="totalSecond">5</span>秒 | |
var second = document.getElementById('totalSecond').textContent; | |
if (navigator.appName.indexOf("Explorer") > -1) | |
{ | |
second = document.getElementById('totalSecond').innerText; | |
} else | |
{ | |
second = document.getElementById('totalSecond').textContent; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
jsName: 验证表单的js | |
Description: | |
Author: markyun | |
Email:[email protected] | |
Author URL: http://weibo.com/920802999 | |
Version: 1.0 | |
UpdateTime:2013年7月3日 | |
*/ | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
jsName: 验证表单的规则 | |
Description: | |
Author: markyun | |
Email:[email protected] | |
Author URL: http://weibo.com/920802999 | |
Version: 1.0 | |
UpdateTime:2013年7月3日 | |
*/ | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var regexEnum = | |
{ | |
intege:"^-?[1-9]\\d*$", //整数 | |
intege1:"^[1-9]\\d*$", //正整数 | |
intege2:"^-[1-9]\\d*$", //负整数 | |
num:"^([+-]?)\\d*\\.?\\d+$", //数字 | |
num1:"^[1-9]\\d*|0$", //正数(正整数 + 0) | |
num2:"^-[1-9]\\d*|0$", //负数(负整数 + 0) | |
decmal:"^([+-]?)\\d*\\.\\d+$", //浮点数 | |
decmal1:"^[1-9]\\d*.\\d*|0.\\d*[1-9]\\d*$", //正浮点数 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
出发不需要理由,等找到理由了,活力已遁形了. | |
1、大漠里的“寻绿”之旅 | |
乌鲁木齐→敦煌 | |
风景★★★ 难度★★ 流行 ★★ | |
乌鲁木齐市→达坂城区→吐鲁番市→鄯善县→一碗泉村→哈密市→骆驼圈子村→星星峡镇→甘肃省柳园镇→西湖乡→敦煌市。全程约990公里。 | |
上榜理由:从荒凉、干燥、寂寞的戈壁,到达水果丰盛和充满民族风情的绿洲,一种成就感会油然而生。于是就会继续上路,寻找下一个绿洲。 | |
线路特点:虽然是在戈壁公路上骑行,但路况很好,没有大的起伏。唯一的“拦路虎”是风,遇到逆风和横风会头疼。另外,此线路应该是我国最热的一段,早晚温差大,晚上降温比较快,要携带保暖衣裤。 | |
消费预算:800~3000元。 | |
最佳骑行时间:8~10月,秋高气爽,瓜果成熟。骑行用时10~15天。 | |
骑行准备:每个城市都有较专业的车行,只需掌握简单的修车技术,携带内胎、补胎工具和简单的维修工具。 |
OlderNewer