微信标志

JAVAscript练习

东山群-电脑网络技术
1、选项卡 鼠标经过变换

栏目一的内容
栏目一的内容
栏目一的内容
栏目一的内容
栏目二的内容
栏目二的内容
栏目二的内容
栏目二的内容
栏目三的内容
栏目三的内容
栏目三的内容
栏目三的内容
栏目四的内容
栏目四的内容
栏目四的内容
栏目四的内容
2、选项卡 鼠标点击变换

栏目一的内容
栏目一的内容
栏目一的内容
栏目一的内容
栏目二的内容
栏目二的内容
栏目二的内容
栏目二的内容
栏目三的内容
栏目三的内容
栏目三的内容
栏目三的内容
栏目四的内容
栏目四的内容
栏目四的内容
栏目四的内容
3、选项卡 鼠标点击变换

栏目一的内容
栏目一的内容
栏目一的内容
栏目一的内容
栏目二的内容
栏目二的内容
栏目二的内容
栏目二的内容
栏目三的内容
栏目三的内容
栏目三的内容
栏目三的内容
栏目四的内容
栏目四的内容
栏目四的内容
栏目四的内容
记录

this:当前发生事件的元素

索引值:需要知道是第几个的时候通过自定义的index属性(标签)定义当前激活的div,例如:aBtn1[i].index=i,在整个循环的开始加入。然后通过this.index来激活,例如:aDiv1[this.index].style。