25种风格各异的菜单 (2)
发表于:2007-06-30来源:作者:点击数:
标签:
<!DOCTYPE HTML PUBLIC -//W3C//D TD HTML 4.0 Transitional//EN> <HTML> <HEAD> <TITLE> caience Design </TITLE> <META HTTP-EQUIV=Content-Type CONTENT=text/html; CHARSET=gb2312> <META NAME=Generator CONTENT=EditPlus> <META NAME=Au
<!DOCTYPE HTML PUBLIC "-//W3C//D
TD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE> caience Design </TITLE>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html;" CHARSET="gb2312">
<META NAME="Generator" CONTENT="EditPlus">
<META NAME="Author" CONTENT="caience.love">
<META NAME="Keywords" CONTENT="">
<META NAME="Description" CONTENT="">
<STYLE type="text/css">
.
td{border:1px solid #FFFF
CC}
.td2{border:1px solid #000000;background-color:#FFFFFF}
</style>
<script language="
JavaScript">
<!--
function fadein(mytransition){
mytransition.innerHTML=@#@#
if (cur!=@#x@#){
mytransition.filters.revealTrans.Transition=cur
mytransition.filters.revealTrans.apply()
mytransition.innerHTML=@#<TABLE height=100 border=1 bordercolor=#336699 bgcolor=#FFFFCC cellPadding=0 cellSpacing=3 width=100%><TR><TD width=100% align=middle class=td onMouseover="this.className=\@#td2\@#;" onMouseout="this.className=\@#td\@#"><a href="http://egadesk.com">ENIGMA DESK For icon</a></TD></TR><TR><TD width=100% align=middle class=td onMouseover="this.className=\@#td2\@#;" onMouseout="this.className=\@#td\@#"><a href="http://egadesk.com">ENIGMA DESK For skin</a></TD></TR><TR><TD width=100% align=middle class=td onMouseover="this.className=\@#td2\@#;" onMouseout="this.className=\@#td\@#"><a href="http://egadesk.com">ENIGMA DESK For image</a></TD></TR><TR><TD width=100% align=middle class=td onMouseover="this.className=\@#td2\@#;" onMouseout="this.className=\@#td\@#"><a href="http://egadesk.com">ENIGMA DESK Basic BBS</a></TD></TR></TABLE>@#
mytransition.filters.revealTrans.play()
}
else{
mytransition.filters.blendTrans.apply()
mytransition.innerHTML=@#<TABLE height=100 border=1 bordercolor=#336699 bgcolor=#FFFFCC cellPadding=0 cellSpacing=3 width=100%><TR><TD width=100% align=middle class=td onMouseover="this.className=\@#td2\@#;" onMouseout="this.className=\@#td\@#"><a href="http://egadesk.com">ENIGMA DESK For icon</a></TD></TR><TR><TD width=100% align=middle class=td onMouseover="this.className=\@#td2\@#;" onMouseout="this.className=\@#td\@#"><a href="http://egadesk.com">ENIGMA DESK For skin</a></TD></TR><TR><TD width=100% align=middle class=td onMouseover="this.className=\@#td2\@#;" onMouseout="this.className=\@#td\@#"><a href="http://egadesk.com">ENIGMA DESK For image</a></TD></TR><TR><TD width=100% align=middle class=td onMouseover="this.className=\@#td2\@#;" onMouseout="this.className=\@#td\@#"><a href="http://egadesk.com">ENIGMA DESK Basic BBS</a></TD></TR></TABLE>@#
mytransition.filters.blendTrans.play()
}
}
function MM_findObj(n, d) { //v4.0
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && document.getElementById) x=document.getElementById(n); return x;
}
function MM_showHideLayers() { //v3.0
var i,p,v,obj,args=MM_showHideLayers.arguments;
for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
if (obj.style) { obj=obj.style; v=(v==@#show@#)?@#visible@#:(v=@#hide@#)?@#hidden@#:v; }
obj.visibility=v; }
}
//-->
</script>
</HEAD>
<BODY>
<script language=JavaScript1.2>
<!--
function doit(mytransition){
if (event.srcElement.tagName=="SMALL"){
cur=event.srcElement.n
fadein(mytransition)
}
}
//-->
</script>
<div id=mytransition style="position:absolute; left:43px; top:169px; width:400px; height:100px; z-index:1; visibility: hidden;FILTER: revealTrans(duration=3,transition=0) blendTrans(duration=3);" onMouseOver="MM_showHideLayers(@#mytransition@#,@#@#,@#show@#);" onMouseOut="MM_showHideLayers(@#mytransition@#,@#@#,@#hide@#);"></div>
<TABLE border=1 bordercolor=#000000 cellPadding=0 cellSpacing=10 width="100%">
<TR>
<TD valign=top height=150 width="100%" class=td3>
<span style="CURSOR: hand;" onMouseOver="MM_showHideLayers(@#mytransition@#,@#@#,@#show@#);doit(mytransition);" onMouseOut="MM_showHideLayers(@#mytransition@#,@#@#,@#hide@#);">
<small n="x">MEUN1</small></span>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>
如何?就这点代码,造就这么多种菜单!
原文转自:http://www.ltesting.net