台灣最大程式設計社群網站
線上人數
1810
 
會員總數:245248
討論主題:189105
歡迎您免費加入會員
討論區列表 >> 專欄文章 >> 下拉式選單
[]  
[我要回覆]
回應主題 加入我的關注話題 檢舉此篇討論 將提問者加入個人黑名單
下拉式選單
價值 : 0 QP  點閱數:12403 回應數:0

樓主

站務人員 站長
門外漢
0 1580
542 9
發送站內信

捐贈 VP 給 站務人員
就是如微軟的下拉式選單

在IE和NC都可以看ㄛ~~~~~

<HTML>
<HEAD>
<TITLE>Sample Menu Page</TITLE>
</HEAD>
<SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">
<!--
NS4 = (document.layers);
IE4 = (document.all);
ver4 = (NS4 || IE4);
IE5 = (IE4 && navigator.appVersion.indexOf("5.")!=-1);
isMac = (navigator.appVersion.indexOf("Mac") != -1);
isMenu = (NS4 || (IE4 && !isMac) || (IE5 && isMac));
function popUp(){return};
function popDown(){return};
if (!ver4) event=null;
//-->
</SCRIPT>
<SCRIPT LANGUAGE="JavaScript1.2" TYPE="text/javascript">
<!--
if (isMenu) {
menuVersion = 3;
menuWidth = 120;
childOverlap = 20;
childOffset = 5;
perCentOver = null;
secondsVisible = .5;
fntCol = "blue";
fntSiz = "10";
fntBold = false;
fntItal = false;
fntFam = "Arial,sans-serif";
backCol = "#DDDDDD";
overCol = "#FFCCCC";
overFnt = "purple";
borWid = 2;
borCol = "black";
borSty = "solid";
itemPad = 3;
imgSrc = "tri.gif";
imgSiz = 10;
separator = 1;
separatorCol = "black";
isFrames = false;
keepHilite = true;
clickStart = false;
clickKill = true;
}
//-->
</SCRIPT>
<SCRIPT LANGUAGE="JavaScript1.2" TYPE="text/javascript">
<!--
if (isMenu) {
document.write("<SCRIPT LANGUAGE='JavaScript1.2' SRC='hierArrays.js' TYPE='text/javascript'><\/SCRIPT>");
}
//-->
</SCRIPT>

<SCRIPT LANGUAGE="JavaScript1.2" TYPE="text/javascript">
<!--
if (isMenu) {
document.write("<SCRIPT LANGUAGE='JavaScript1.2' SRC='hierMenus.js' TYPE='text/javascript'><\/SCRIPT>");
}
//-->
</SCRIPT>

<BODY>


<H3>Sample HTML page with 4 Hierarchical Menus</H3>

<BLOCKQUOTE>
<P><A HREF="javascript:void(0)" onMouseOver="popUp('elMenu1',event)"
onMouseOut="popDown('elMenu1')" onClick="return false">Default Link Text Display 1:</A></P>
<P><A HREF="javascript:void(0)" onMouseOver="popUp('elMenu2',event)"
onMouseOut="popDown('elMenu2')" onClick="return false">Default Link Text Display 2:</A></P>
<P><A HREF="javascript:void(0)" onMouseOver="popUp('elMenu3',event)"
onMouseOut="popDown('elMenu3')" onClick="return false">Default Link Text Display 3:</A></P>
<P><A HREF="javascript:void(0)" onMouseOver="popUp('elMenu4',event)"
onMouseOut="popDown('elMenu4')" onClick="return false">Default Link Text Display 4:</A></P>
</BLOCKQUOTE>

</BODY>
</HTML>


這是利用DHML的技巧

由http://www.dhtmlab.com/所找到的特效
本篇文章發表於2000-08-01 00:00
別忘捐VP感謝幫助你的人 新手會員瞧一瞧
目前尚無任何回覆
   

回覆
如要回應,請先登入.