上一页 1 ··· 4 5 6 7 8 9 10 11 12 下一页
摘要: <a href="存在问题.docx" download style="color:red;font-size:20px;cursor:pointer;float:right;" onclick="">下载</a> download 可以使路径的图片下载 阅读全文
posted @ 2017-10-17 17:05 左转右转 阅读(204) 评论(0) 推荐(0) 编辑
摘要: 我们将ASP.NET程序从IIS6移植到IIS7,可能运行提示以下错误: HTTP 错误 500.23 - Internal Server Error 检测到在集成的托管管道模式下不适用的 ASP.NET 设置。 为什么会出现以上错误? 在IIS7的应用程序池有两种模式,一种是“集成模式”,一种是“ 阅读全文
posted @ 2017-10-07 18:00 左转右转 阅读(557) 评论(0) 推荐(0) 编辑
摘要: bing图片每日更新,对于这一点感觉挺不错的,如果能够把bing每日图片作为博客背景是不是很不错呢?首先我们进入Bing首页,会发现自动转到中国版。不过这没关系,中国版更符合国情,速度也比国际版快一些。下面分享bing图片接口api,通过抓包,可以发现 这里可以获取到无水印的图片。 抓包显示结果: 阅读全文
posted @ 2017-10-07 17:59 左转右转 阅读(17987) 评论(1) 推荐(2) 编辑
摘要: jquery ajax调用webservice(C#)要注意的几个事项: 1、web.config里需要配置2个地方 <httpHandlers> <remove verb="*" path="*.asmx"/> <add verb="*" path="*.asmx" validate="false 阅读全文
posted @ 2017-10-07 16:59 左转右转 阅读(1179) 评论(0) 推荐(0) 编辑
摘要: 1 if (iframe.get(0).attachEvent) { 2 iframe.get(0).attachEvent("onload", function () { 3 var new_h = iframe.get(0).contentWindow.document.documentElement.offsetHeight ... 阅读全文
posted @ 2017-10-06 15:22 左转右转 阅读(190) 评论(0) 推荐(0) 编辑
摘要: 1 function IsPC() { 2 //navigator:包含浏览器信息 3 var userAgentInfo = navigator.userAgent; 4 var Agents = ["Android", "iPhone", 5 "SymbianOS", "Windows Phon 阅读全文
posted @ 2017-10-06 15:16 左转右转 阅读(227) 评论(0) 推荐(0) 编辑
摘要: 1 $.ajax({ 2 type: "GET", 3 url: "Login.ashx", 4 dataType: "text", 5 cache: false,//true使用缓存 。 false不使用缓存 6 async: true,//使用 true beforeSend方法会有延迟现象 7 阅读全文
posted @ 2017-10-06 15:15 左转右转 阅读(181) 评论(0) 推荐(0) 编辑
摘要: 1 function removeClass(obj, aClass) { 2 var re = new RegExp('\\b' + aClass + '\\b'); 3 if (obj.className != '') { 4 5 if (re.test(obj.className)) { 6 阅读全文
posted @ 2017-10-06 15:09 左转右转 阅读(1465) 评论(3) 推荐(0) 编辑
摘要: 1.onselectstart 这个事件主要是用于禁止选择网页中的文字。代码为: document.onselectstart =function(){ return false; } 另外ff/opera不支持此事件,ff可以用css控制:css: body { -moz-user-select: 阅读全文
posted @ 2017-10-06 15:05 左转右转 阅读(387) 评论(0) 推荐(0) 编辑
摘要: 1.正则表达式基本语法 两个特殊的符号'^'和'$'。他们的作用是分别指出一个字符串的开始和结束。例子如下: "^The":表示所有以"The"开始的字符串("There","The cat"等);"of despair$":表示所以以"of despair"结尾的字符串;"^abc$":表示开始和 阅读全文
posted @ 2017-09-13 09:50 左转右转 阅读(303) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 11 12 下一页