网页中的下拉菜单制作
|
<HEAD>
<TITLE>动感的伸缩菜单</TITLE>
<META. http-equiv=Content-Type content="text/html; charset=gb2312">
<script. language=JavaScript>
<!--
function JM_cc(ob){
var bj=MM_findObj(ob); if (obj) {
obj.select();js=obj.createTextRange();js.execCommand("Copy");}
}
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;
}
//-->
</script>
<script. language=javascript. src="http://www.cnbruce.com/js/one.js"></script>
<script. language=javascript. src="http://www.cnbruce.com/js/two.js"></script>
<link href="http://www.cnbruce.com/js/welab.css" type=text/css rel=stylesheet>
</HEAD>
<BODY bgcolor="#FFFFFF" leftmargin="0" topmargin="0" nload=init();>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="49">
</td>
<td width="74" valign="bottom" ><a id=menu1 href="#">MENU 1 </a></td>
<td width="74" valign="bottom"><a id=menu2 href="#"> MENU 2 </a></td>
<td width="74" valign="bottom"><a id=menu3 href="#"> MENU 3 </a></td>
<td width="74" valign="bottom"><a id=menu4 href="#"> MENU 4 </a></td>
<td width="74" valign="bottom"><a id=menu5 href="#"> MENU 5 </a></td>
<td width="74" valign="bottom"><a id=menu6 href="#"> MENU 6 </a></td>
<td width="74" valign="bottom"><a id=menu7 href="#"> MENU 7 </a></td>
</tr>
<tr bgcolor="#7285cf">
<td colspan="8" height="20"> <font color="#FFFFFF">动感的伸缩菜单</font></td>
</tr>
</table>
<script. language=javascript. src="http://www.cnbruce.com/js/dropdown_content.js"></script>
<br>
</BODY></HTML>