解决方案: 1:利用contentWindow,直接使用jquery的blur和focus,如果使用原生,加一个浏览器判断然后attachEvent 和 addEventListener就行了 $($(‘#frame‘)[0].contentWindow).blur(function(){}) $($(‘#frame...
分类:
其他好文 时间:
2014-12-10 10:58:28
阅读次数:
213
??
7Approaches for AOP in .Net
AOP在 .NET中的七种实现方法
Here are all the ways that I can think of to add AOPto your application. This mostly focus on the interception side
of things,because o...
分类:
Web程序 时间:
2014-12-10 00:35:38
阅读次数:
184
1. CSS方式在IE下是使用html属性:hideFoucs,在HTML标签中加上hidefocus=”true”属性即可,但这个属性是IE私有的,Firefox是不认的。加了hidefocus属性IE中用CSS处理的方式为:a{noOutline:expression_r(this.onFocu...
分类:
其他好文 时间:
2014-12-09 19:15:50
阅读次数:
263
一直使用谷歌浏览器,性能较其它浏览都略胜一筹。但是后面用户无法登录,书签也没办法同步。比较苦恼。上网查了下。解决方法如下:C:\Windows|System32\drivers\etc的hosts文件加入以下IP域名对应关系便可。203.208.46.1760-focus-opensocial.googleusercontent.com203.208.46...
分类:
其他好文 时间:
2014-12-07 23:24:45
阅读次数:
509
html代码:幻灯片特效 在线演示 DIVCSS5 javascript代码:$(function() { jQuery.focus = function(slid) { var sWidth = $(slid).width(); //...
分类:
Web程序 时间:
2014-12-07 21:38:30
阅读次数:
179
高级实例: 通过dataTriger来给TextBox焦点 Using XAML to Set Focus on a Textbox in WPF Desktop Applications
/*focus.jsby sunhw 2014-10-16 重写*/;(function() { function Focus( option ) { this.option = T.object.extend( { root : '', dotroot : '', item : '', dot :...
分类:
其他好文 时间:
2014-12-03 12:24:51
阅读次数:
273
1.c# WinForm在加载时把焦点设在按钮上this.AcceptButton = button1;这样在WinForm窗口中,按钮的状态会变成窗口的默认按钮,只要按下Enter键,就会触发按钮的单击事件这种效果与按钮获得焦点类似.当然,加个button1.Focus();更好。2.c# Win...
这个界面 实现的不是微信对话界面。实现的是,focus的状态下,变为放大的另一种布局重点:一、定义类型个数 private final int TYPE_COUNT = 2; private final int FIRST_TYPE = 0; private final int OTHERS_TYP...
分类:
微信 时间:
2014-11-28 22:32:01
阅读次数:
477
Abstract:Paralution is an open source library for sparse iterative methods withspecial focus on multi-core and accelerator technology such as GPUs. It...
分类:
其他好文 时间:
2014-11-28 17:40:57
阅读次数:
308