配置 Win7 和 IIS7 以支持WCF
摘要: Win7 和 IIS7 默认不支持WCF, 要使其支持WCF,需要执行如下操作:1. 以管理员(Administrator)方式运行C:\Windows\System32\cmd.exe2. 执行命令: "%windir%\Microsoft.NET\Framework\v3.0\Windows Communication Foundation\ServiceModelReg.exe" -r -y (其中windir需要替换为你的windows安装目录)【参考文献】1. Host a WCF Service in IIS 7 & Windows 2008 - The
阅读全文
posted @
2011-08-16 16:55 sonicit 阅读(154) |
评论 (0) 编辑
js页面滚动浮动层智能定位(MooTools)实例页面
摘要: HTML代码:<divclass="float"id="float">我是个腼腆羞涩的浮动层...</div>JS代码:var$smartFloat=function(elements){varposition=function(element){vartop=element.getPosition().y,pos=element.getStyle("position");window.addEvent("scroll",function(){varscrolls=this.getScrol
阅读全文
posted @
2011-08-16 16:16 sonicit 阅读(96) |
评论 (0) 编辑
js页面滚动浮动层智能定位(jQuery)实例页面
摘要: HTML代码: <divclass="float"id="float">我是个腼腆羞涩的浮动层...</div>JS代码:$.fn.smartFloat=function(){varposition=function(element){vartop=element.position().top,pos=element.css("position");$(window).scroll(function(){varscrolls=$(this).scrollTop();if(scrolls>top){if(w
阅读全文
posted @
2011-08-16 16:15 sonicit 阅读(335) |
评论 (0) 编辑