会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Ace007
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
13
14
15
16
17
18
19
20
21
下一页
2016年11月23日
html5 postMessage解决iframe跨协议跨域通信问题
摘要: a.html有个iframe载入b.com/login.html,当login完成时通知a.html页面登录完成并传递UserName 1.a.html 监听消息 2.iframe内嵌页login.html postMessage var ifr = window.parent; //获取父窗体 v
阅读全文
posted @ 2016-11-23 14:06 Ace001
阅读(2111)
评论(0)
推荐(0)
2016年8月31日
ios h5 app avalon tap点击事件失效及点击延迟300ms问题解决方法
摘要: 1.ios h5 app avalon tap事件失效 使用MUI制作app界面,使用avalon.js渲染数据,发现在(Android上正常)ios上运行时容器div的avalon的ms-on-tap被内容遮住不执行.用MUI的on tap事件可以执行但改动较大,于是改为ms-on-click.(
阅读全文
posted @ 2016-08-31 09:32 Ace001
阅读(3353)
评论(1)
推荐(0)
2016年8月29日
Stream转MemoryStream解决Stream.Length报错此流不支持查找操作
摘要: 1.StreamToMemoryStream 2.Stream.Length报错:此流不支持查找 From:http://www.cnblogs.com/xuejianxiyang/p/5816684.html
阅读全文
posted @ 2016-08-29 09:20 Ace001
阅读(15114)
评论(1)
推荐(4)
2016年6月2日
avalon.js 1.4.6简单列表数据绑定ms-repeat ms-click
摘要: 1.列表数据绑定 doClick:function(data) { alert(data.name); console.log(data); } From:http://www.cnblogs.com/xuejianxiyang/p/5554146.html
阅读全文
posted @ 2016-06-02 19:16 Ace001
阅读(3108)
评论(0)
推荐(0)
2016年6月1日
asp.net动态生成按钮Button控件
摘要: 1.动态生成button控件及响应服务端和客户端事件 2.调用: From:http://www.cnblogs.com/xuejianxiyang/p/5549697.html
阅读全文
posted @ 2016-06-01 15:12 Ace001
阅读(5285)
评论(0)
推荐(0)
2016年5月24日
css特效
摘要: 1.页面淡入淡出 <html style="background:#0086b5"> <!--简易loading--> <div id="loading" style="z-index:-999;font-size:24px;width:100%;height:24px;text-align:cen
阅读全文
posted @ 2016-05-24 10:25 Ace001
阅读(495)
评论(1)
推荐(0)
2016年5月22日
iis7 压缩js文件和启用gzip压缩
摘要: 压缩js文件 打开IIS 7的配置文件:c:\windows\system32\inetsrv\config\applicationhost.config 在<staticContent lockAttributes="isDocFooterFileName">中添加: 相关文章:Getting I
阅读全文
posted @ 2016-05-22 19:32 Ace001
阅读(2282)
评论(2)
推荐(1)
2016年5月18日
linq lambda let
该文被密码保护。
阅读全文
posted @ 2016-05-18 15:52 Ace001
阅读(763)
评论(0)
推荐(0)
2016年5月14日
扩展方法解决LinqToSql Contains超过2100行报错问题
摘要: 1.扩展方法 2.调用 Using Utils; void Test() { var ids=new int[] { 1,2,3 ... 9999 }; var list=datacontext.TestTable.InRange(ee => ee.Id, 2000, ids).ToList();
阅读全文
posted @ 2016-05-14 01:21 Ace001
阅读(894)
评论(3)
推荐(1)
2016年5月12日
正则表达式 贪婪模式和非贪婪模式
摘要: 1.贪婪模式:(.*) (匹配尽可能多的字符) 2.非贪婪模式:(.*?) 3.非贪婪模式补充问题: 正则 \d*? 字符串abc123def 匹配无结果为什么?大概是因为*表示可以0次,所以非贪婪模式就匹配了0次?把*换成+号就好了 那为什么标题2处的没有匹配失败?因为.*?外面有引号,所以至少要
阅读全文
posted @ 2016-05-12 13:09 Ace001
阅读(6995)
评论(1)
推荐(1)
上一页
1
···
13
14
15
16
17
18
19
20
21
下一页
公告