The recent landing Members
Download
Location : Sincol.net + 实用代码 + 实用代码 js div css html + 通用滑动门类
通用滑动门类
Terminator Updated in 2008-10-08 16:42

View】 【Favorites】【Share】【Comments】【Feedback error

Source : Demo Address :
Tips : When the content of the code, Please run the Show , download and demo invalid!
You can modify some code and then run Copy and Save in FF is invalid
使用方法:

1.把以上代码引进你的页面

<script type="text/javascript" src="scrollDoor.js"></script>

2.在页面的"<body>"标签前加入以下代码:

<script type="text/javascript">
var SDmodel = new scrollDoor();
SDmodel.sd([菜单id数组],[显示层id数组],"菜单触发类","菜单关闭类");
SDmodel.sd([菜单id数组2],[显示层id数组2],"菜单触发类","菜单关闭类");
SDmodel.sd([菜单id数组3],[显示层id数组3],"菜单触发类","菜单关闭类");
</script>

其中sd方法中的参数为:

  • 参数一 [菜单id数组]:滑动门菜单的id
  • 参数二 [内容id数组]:显示和隐藏滑动内容层的id
  • 参数三 "菜单触发类":鼠标经过滑动门菜单的类
  • 参数四 "菜单关闭类":鼠标滑出滑动门菜单的类

3.页面中有几个滑动门就调用几次sd函数,只需改变sd调用的参数,如以上代码上所展示.

顶一下
(4)
80%
踩一下
(1)
20%
All content from the network, only to learn and communicate, not commercial
All Comment
Post your comment
New Comment All Comment
Do not made illegal content Post your comment
My Evaluation:
My Mood:
Name Password Verification Code
Cooperation
Sponsors
Upload Works
设计分享