上一页 1 ··· 5 6 7 8 9
摘要: try {(function(e) {if (/msie 6/i.test(navigator.userAgent)) {window.location = "jump.html";return;}})()}catch(e){} 阅读全文
posted @ 2014-10-26 12:59 ぶ会编程 阅读(162) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2014-10-26 12:42 ぶ会编程 阅读(1479) 评论(0) 推荐(1)
摘要: if(navigator.platform.indexOf('Win32')!=-1){window.location.href="";//PC网站 }else{ window.location.href=""; //手机网站 }参考:http://jingyan.baidu.com/articl... 阅读全文
posted @ 2014-10-11 10:13 ぶ会编程 阅读(309) 评论(0) 推荐(0)
摘要: 如果通过ajax返回一串包含有html标签的字符串,然后添加到相应的html文档位置,如果标签外含有空格或者换行等就会报错。 阅读全文
posted @ 2014-09-08 21:15 ぶ会编程 阅读(255) 评论(0) 推荐(0)
摘要: //调用方法$(function () {$(".pHolder").jason();});//HTML代码//jquery插件($.fn.jason = function(a) { var b = { focus: "black", unfocus: "#999" }, c = $.extend(... 阅读全文
posted @ 2014-07-28 14:38 ぶ会编程 阅读(304) 评论(0) 推荐(0)
摘要: //js代码$(function () { var availableTags = ["@qq.com", "@gmail.com", "@126.com", "@163.com", "@hotmail.com", "@yahoo.com", "@yahoo.com.cn", "@li... 阅读全文
posted @ 2014-05-12 12:49 ぶ会编程 阅读(214) 评论(0) 推荐(0)
上一页 1 ··· 5 6 7 8 9