兼容ie和firefox的复制内容至剪贴板(zt)
[ 2008-04-24 13:42:15 | 作者: dodo ]
引用
function copyToClipboard(txt) {
if(window.clipboardData) {
window.clipboardData.clearData();
window.clipboardData.setData(”Text”, txt);
} else if(navigator.userAgent.indexOf(”Opera”) != -1) {
window.location = txt;
} else if (window.netscape) {
try {
netscape.security.PrivilegeManager.enablePrivilege(”UniversalXPConnect”);
} catch (e) {
alert(”被浏览器拒绝!\n请在浏览器地址栏输入’about:config’并回车\n然后将’sign
if(window.clipboardData) {
window.clipboardData.clearData();
window.clipboardData.setData(”Text”, txt);
} else if(navigator.userAgent.indexOf(”Opera”) != -1) {
window.location = txt;
} else if (window.netscape) {
try {
netscape.security.PrivilegeManager.enablePrivilege(”UniversalXPConnect”);
} catch (e) {
alert(”被浏览器拒绝!\n请在浏览器地址栏输入’about:config’并回车\n然后将’sign
阅读全文
打开IE,执行一个web程序
[ 2007-06-27 03:39:48 | 作者: dodo ]
将以下代码存为.VBS文件
Dim IE
Set IE = CreateObject("InternetExplorer.Application")
ie.navigate("http://www.iqoo.com/xxx.asp")
ie.visible=1
Set IE = Nothing
或者用批处理文件.bat
explorer http://www.iqoo.com/xxx.asp
...
阅读全文
Dim IE
Set IE = CreateObject("InternetExplorer.Application")
ie.navigate("http://www.iqoo.com/xxx.asp")
ie.visible=1
Set IE = Nothing
或者用批处理文件.bat
explorer http://www.iqoo.com/xxx.asp
...
阅读全文
再说说3721,好像也应该算说YAHOO中国
[ 2006-08-20 03:11:55 | 作者: dodo ]
http://www.3721.com 转型做了一个个人门户的首页
但是在FIREFOX下的页面,跳转了,opera也是

在IE下是这个

这么做的原因就是那个个人门户首页拖拽效果在FF下不能用,
如果算是yahoo中国的作品的话,我还真不知道该怎么评价
拖拽效果跨浏览器好像不难吧
但是在FIREFOX下的页面,跳转了,opera也是

在IE下是这个

这么做的原因就是那个个人门户首页拖拽效果在FF下不能用,
如果算是yahoo中国的作品的话,我还真不知道该怎么评价
拖拽效果跨浏览器好像不难吧







