注册 登录
编程论坛 JavaScript论坛

图片变换效果IE6 给终止了,火狐就没事 高手给看看啊

dan89757 发布于 2010-06-11 14:35, 773 次点击
<SCRIPT type=text/javascript>(function(){hp_layout_cookiename='hp_layout2';hp_theme_cookiename='hp_theme_id2';hp_layout_lstid_cookiename='hplayout_lstid';hp_layout_lstid_i_cookiename='hplayout_lstid_i';get_theme_csspath=function(t){return"/Library/homepage2009/style/theme-"+t+"/theme.css";};var cc,Tp=';',c=hp_theme_cookiename+'=',d=String(document.cookie);for(var e=-1;(e=d.indexOf(c,e+1))>=0;){var f=e;while(--f>=0){var g=d.charAt(f);if(g==Tp){f=-1;break}}
if(f==-1){var h=d.indexOf(Tp,e);if(h<0){h=d.length}
cc=d.substring(e+c.length,h);break}}
if(!cc){cc='red';window.theme_cookie_to_save=cc;}
window.theme_cookie_str=cc;document.write('<link href="'+get_theme_csspath(cc)+'" id="link_for_theme" rel="stylesheet" type="text/css" />');})();</SCRIPT> 这段代码有问题不知道怎么改 - -!
只有本站会员才能查看附件,请 登录
1 回复
#2
qingshuiliu2010-06-13 11:15
哥们,我测试了一下,IE6,FireFox,360安全浏览器 2.2 正式版,文件版本:2.2.0.4
都可以啊。???
1