模似windows XP 左侧的菜单效果(3)
2018-09-06 11:58
function ChangeStyle()
{
if (this.className == this.getAttribute(classOut))
this.className = this.getAttribute(classOver);
else
this.className = this.getAttribute(classOut);
}
</script>
<!--------Start Menu---------->
<p class=mainDiv state=0>
<p class=topItem classOut=topItem classOver=topItemOver onMouseOver=Init(this); >网页特效</p>
<p class=dropMenu >
<p class=subMenu state=0>
<span class=subItem classOut=subItem classOver=subItemOver><a href=asp?type=图形图像>图形图像</a></span><BR />
<span class=subItem classOut=subItem classOver=subItemOver><a href=鼠标事件>鼠标事件</a></span><BR />
<span class=subItem classOut=subItem classOver=subItemOver><a href=时间日期>时间日期</a></span><BR />
<span class=subItem classOut=subItem classOver=subItemOver><a href=导航菜单>导航菜单</a></span><BR />
<span class=subItem classOut=subItem classOver=subItemOver><a href=文字效果>文字效果</a></span>
</p>
</p>
</p>
<!--------End Menu---------->
<BR />
<!--------Start Menu---------->
<p class=mainDiv state=0>
<p class=topItem classOut=topItem classOver=topItemOver onMouseOver=Init(this) >网络学院</p>
<p class=dropMenu >
<p class=subMenu state=0>
<span class=subItem classOut=subItem classOver=subItemOver><a href=网页制作>网页制作</a></span><BR />
<span class=subItem classOut=subItem classOver=subItemOver><a href=网络编程>网络编程</a></span><BR />
<span class=subItem classOut=subItem classOver=subItemOver><a href=图形图像>图形图像</a></span>
</p>
</p>
</p>
<!--------End Menu---------->
<BR />
<!--------Start Menu---------->
<p class=mainDiv state=0>
<p class=topItem classOut=topItem classOver=topItemOver onMouseOver=Init(this) >网站联盟</p>
<p class=dropMenu >
<p class=subMenu state=0>
<span class=subItem classOut=subItem classOver=subItemOver><a href=网页设计</a></span><BR />
<span class=subItem classOut=subItem classOver=subItemOver><a href=艺术创作</a></span><BR />
<span class=subItem classOut=subItem classOver=subItemOver><a href=电脑网络</a></span>
</p>
</p>
</p>
<!--------End Menu---------->