摘要: -- ================================================-- Template generated from Template Explorer using:-- Create Procedure (New Menu).SQL---- Use the S... 阅读全文
posted @ 2015-08-22 15:44 徐本县 阅读(173) 评论(0) 推荐(0) 编辑
摘要: exec dbo.sp_who_lock --查看当前死锁进程exec dbo.p_killspid db --杀掉引起死锁的进程create procedure sp_who_lock as begin declare @spid int,@bl int, @intTransactionC... 阅读全文
posted @ 2015-08-22 15:41 徐本县 阅读(1339) 评论(0) 推荐(0) 编辑
摘要: 各浏览器下Hack的写法1、Firefox @-moz-document url-prefix() { .selector { property: value; } } 上面是仅仅被Firefox浏览器识别的写法,具体如: @-moz-document u... 阅读全文
posted @ 2015-05-13 10:49 徐本县 阅读(166) 评论(0) 推荐(0) 编辑
摘要: 浏览器渲染页面的方式各不相同,甚至同一浏览器的不同版本(“杰出代表”是 IE)也有差异。因此,浏览器兼容成为前端开发人员的必备技能。如果有一份浏览器 Hack 手册,那查询起来就方便多了。这篇文章就向大家分享Browserhacks 帮我们从网络上收集的各个浏览器特定的 CSS & JavaScri... 阅读全文
posted @ 2015-05-13 10:38 徐本县 阅读(163) 评论(0) 推荐(0) 编辑
摘要: (function() {var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;ga.src = ('https:' == document.location.protocol ... 阅读全文
posted @ 2015-05-01 09:17 徐本县 阅读(223) 评论(0) 推荐(0) 编辑
摘要: addBookmark(document.tittle);function addBookmark(title){var url=parent.location.href;if(window.sidebar){window.sidebar.addPanel(title,url,"")}else if... 阅读全文
posted @ 2015-05-01 09:10 徐本县 阅读(276) 评论(0) 推荐(0) 编辑
摘要: if(window.location.toString().indexOf('pref=padindex') != -1){}else{if(/AppleWebKit.*Mobile/i.test(navigator.userAgent) || (/MIDP|SymbianOS|NOKIA|SAMS... 阅读全文
posted @ 2015-05-01 08:51 徐本县 阅读(669) 评论(0) 推荐(0) 编辑
摘要: 1、每个jar包得用处如下:org.springframework.aop--------------------Spring的面向切面编程,提供AOP(面向切面编程)实现org.springframework.asm--------------------Spring独立的asm程序,相遇Spri... 阅读全文
posted @ 2015-04-19 15:53 徐本县 阅读(151) 评论(0) 推荐(0) 编辑
摘要: public class MethodMutual extends Activity { private WebView mWebView; private Handler mHandler = new Handler(); private static final St... 阅读全文
posted @ 2015-04-17 16:11 徐本县 阅读(755) 评论(0) 推荐(0) 编辑
摘要: webView.getSettings().setJavaScriptEnabled(true);webView.setScrollBarStyle(WebView.SCROLLBARS_OUTSIDE_OVERLAY);webView.setHorizontalScrollBarEnabled(f... 阅读全文
posted @ 2015-04-17 16:10 徐本县 阅读(256) 评论(0) 推荐(0) 编辑