您现在的位置: 韩国设计资源网 >> 设计师学院 >> 网页设计 >> Javascript >> 教程正文
// Hides an object
function hideObject(obj) {
if (ns4) obj.visibility = "hide"
else if (ie4) obj.visibility = "hidden"
}
// Move a layer
function moveTo(obj,xL,yL) {
obj.left = xL
obj.top = yL
}
function trk() {
if ( (ns4) || (ie4) ) {
nt=new Image(32,32); nt.src="http://www.nedstat.nl/cgi-bin/nedstat.gif?name=ol2t";
bt=new Image(1,1); bt.src="/edu/UploadFiles_edu/200606/20060602222840352.gif";
refnd=new Image(1,1); refnd.src="http://www.nedstat.nl/cgi-bin/referstat.gif?name=ol2t&refer="+escape(top.document.referrer);
}
tr = 0;
}
附overlib.css:
body {font-family:"宋体";font-size: 9pt; margin-top: 0px }
a {font-family:"宋体";font-size: 9pt }
td { FONT-SIZE: 9pt ; font-family: "宋体" }
#PCL {
font-family: 宋体
font-style: none;
font-weight: normal;
text-decoration: none;
font-size: 9pt;
}
#PTT {
font-family: 宋体
font-size: 9pt;
}
#PST {
font-family: 宋体
font-size: 9pt;
}
注:将以上两文件保存为.js文档和css文档,css用自己的就行了,没必要用他的。最后希望大家能用好这个特效来