请问在dreamweaver中做下拉菜单时,怎么给下拉菜单的子菜单做链接啊???
我做这个实例的时候当我把鼠标移动主菜单时,下拉菜单出现,可是我想把鼠标移动下拉菜单上的选项,总是无法显示手型,也就是无法链接 (注:我事先已经给子菜单做了链接)实例中的“行为-事件”分别为 “on mouse over ——显示层” “ on mouse out———— 隐藏层 ”,请问要想点击下拉菜单的选项是不是还要设置其他的行为或者时间啊???不胜感激
请问在dreamweaver中做下拉菜单时,怎么给下拉菜单的子菜单做链接啊???
我做这个实例的时候当我把鼠标移动主菜单时,下拉菜单出现,可是我想把鼠标移动下拉菜单上的选项,总是无法显示手型,也就是无法链接 (注:我事先已经给子菜单做了链接)实例中的“行为-事件”分别为 “on mouse over ——显示层” “ on mouse out———— 隐藏层 ”,请问要想点击下拉菜单的选项是不是还要设置其他的行为或者时间啊???不胜感激
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" " http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns=" http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>下拉子菜单链接</title>
<script language="JavaScript">
<!--
function mmLoadMenus() {
if (window.mm_menu_1104115524_0) return;
window.mm_menu_1104115524_0 = new Menu("root",38,18,"",12,"#000000","#FFFFFF","#CCCCCC","#000084","left","middle",3,0,1000,-5,7,true,false,true,0,true,true);
mm_menu_1104115524_0.addMenuItem("11","window.open('www.baidu.com', '_self');");
mm_menu_1104115524_0.addMenuItem("22","window.open('www.hao.123.com', '_self');");
mm_menu_1104115524_0.addMenuItem("33","window.open('www.xiaonei.com', '_self');");
mm_menu_1104115524_0.hideOnMouseOut=true;
mm_menu_1104115524_0.bgColor='#555555';
mm_menu_1104115524_0.menuBorder=1;
mm_menu_1104115524_0.menuLiteBgColor='#FFFFFF';
mm_menu_1104115524_0.menuBorderBgColor='#777777';
mm_menu_1104115524_0.writeMenus();
} // mmLoadMenus()
//-->
</script>
<script language="JavaScript" src="mm_menu.js"></script>
</head>
<body>
<script language="JavaScript1.2">mmLoadMenus();</script>
<a href="#" name="link3" id="link1" onmouseover="MM_showMenu(window.mm_menu_1104115524_0,49,10,null,'link3')" onmouseout="MM_startTimeout();">网页制作</a></body>
</html>
首先做好子菜单,做出效果!至于链接的样式与方式,一行代码即可搞定!