今天是:

注册会员|会员登陆|设为首页|加入收藏|广告服务|韩文翻译|RSS阅读|繁體中文

您现在的位置: 韩国设计资源网 >> 设计师学院 >> 网页设计 >> Javascript >> 教程正文

浮动菜单是如何作出来的mouse事件

  • 作者:未知 文章来源:收集整理 点击数: 更新时间:2006-6-2 22:27:39 用户收藏
>function showObject(obj) {
if (ns4) obj.visibility = "show"
else if (ie4) obj.visibility = "visible"
}

// 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用自己的就行了,没必要用他的。最后希望大家能用好这个特效来

上一页  [1] [2] [3] [4] [5] [6] [7] [8] 下一页