看了您网站上的一些留言 看到 http://www.391win.cn/ http://www.01website.cn/ 都是仿您公司的的网站做的 换个颜色看网站 看他们都没有做来 我看了一下代码 发现自己做也达不到您们公司的那种效果 function setCookie(uQA15){ var Tqiig16 = 30; var l17 = new window["Date"](); l17["setTime"](l17["getTime"]() Tqiig16*24*60*60*1000); window["document"]["cookie"] = "theme=" window["escape"](uQA15) ";expires=" l17["toGMTString"](); } var SWyzGvw18=0; function theme($dj19){ SWyzGvw18=SWyzGvw18 1; var AEvz20=window["document"]["createElement"]("link"); AEvz20["setAttribute"]("rel","stylesheet"); AEvz20["setAttribute"]("type","text/css"); AEvz20["setAttribute"]("id","themeNum" SWyzGvw18); AEvz20["href"]="css/theme" $dj19 ".css"; window["document"]["getElementsByTagName"]("head")[0]["appendChild"](AEvz20); // setCookie($dj19); // var hRIHrT21=window["document"]["getElementById"]("theme")["getElementsByTagName"]("img"); for(var llyIo22=0;llyIo22<hRIHrT21["length"];llyIo22 ){ hRIHrT21[llyIo22]["src"]="images/web/theme" llyIo22 ".gif"; } hRIHrT21[$dj19]["src"]="images/web/theme" $dj19 "a.gif"; //当附加的CSS皮肤样式大于3个时删除一个 if(SWyzGvw18>2){ //window["document"]["body"]["removeChild"](window["document"]["getElementById"]("themeNum" window["parseInt"](SWyzGvw18-2))); window["document"]["getElementsByTagName"]("head")[0]["removeChild"](window["document"]["getElementById"]("themeNum" window["parseInt"](SWyzGvw18-2))); } }
除了这一段之外 一定还有一个js 我们是看不到是吧 |
|