Posts Tagged ‘网页’

在网页上启动桌面应用程序 »

Windows Registry Editor Version 5.00 @="Test" "URL Protocol"="应用程序路径 %l" @="%SystemRoot%\\system32\\url.dll,0" @="应用程序路径 %l" 注意: %1是百分号加上数字1 在网页上加一个这样的链接: <a href='Test://para1&para2&para3'>启动桌面应用程序</a> 如果用户点击这个网页链接,在注册表中对应的应用程序就可以被启动了。 来源: http://www.cnblogs.com/ilovejolly/archive/2007/06/25/7

IE8不兼容你的网页 怎么办? – 简单开启兼容模式 »

只需要在页面中加入如下HTTP meta-tag: <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" /> 只要IE8一读到这个标签,它就会自动启动IE7兼容模式,保证页面完整展示. 还有一种方法是针对整个网站的,在IIS中加入如下描述符就可以有相同的效果,当然这么做范围更广. <?xml version="1.0" encoding="utf-8"?> <configuration> <system.webServer> <httpProtocol> <customHeaders> <add name="X-UA