随笔 - 55  文章 - 0  评论 - 452  阅读 - 60539
01 2009 档案
自动将脚本放在页面底部
摘要:Fast page loading by moving ASP.NET AJAX scripts after visible contentASP.NET ScriptManager control has a property LoadScriptsBeforeUI, when set to false, should load all AJAX framework scripts after ... 阅读全文
posted @ 2009-01-20 14:23 Ray Wu 阅读(499) 评论(0) 推荐(0) 编辑
Asp.net页面静态内容自动从不同域名加载--极大提升客户端加载速度
摘要:Loading static content in ASP.NET pages from different domain for faster parallel downloadGenerally we put static content (images, css, js) of our website inside the same web project. Thus they get do... 阅读全文
posted @ 2009-01-20 14:19 Ray Wu 阅读(495) 评论(0) 推荐(0) 编辑
使用闭包优雅的为setInterval(setTimeout)传递参数
摘要:闭包的一个常见用法是在执行函数之前为要执行的函数提供参数。例如:将函数作为 setInterval 函数的第一个参数,这在 Web 浏览器的环境下是非常常见的一种应用。 setInterval用于有计划地执行一个函数,要执行的函数是其第一个参数,其第二个参数是以毫秒表示的执行间隔。也就是说,当在一段代码中使用 setInterval时,要将一个函数的引用作为它的第一个参数,而将以毫秒表示的时间值作... 阅读全文
posted @ 2009-01-06 13:36 Ray Wu 阅读(2751) 评论(10) 推荐(0) 编辑
我的网站PR升了没有?
摘要: 阅读全文
posted @ 2009-01-05 11:33 Ray Wu 阅读(314) 评论(1) 推荐(0) 编辑

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

点击右上角即可分享
微信分享提示