点击显示下拉菜单的代码
<p>要完成此效果把如下代码加入到<body>区域中</p><p><SCRIPT LANGUAGE="JavaScript"><br /><!-- Begin<br />var refer=true;<br />function combo() {<br />if (refer) {<br /> document.all.contents.style.visibility="visible";<br /> refer=false;<br />}<br />else {<br /> document.all.contents.style.visibility="hidden";<br /> refer=true;<br />}<br />}<br />// End --><br /></script><table align="center"><br /><tr><td><br /><table width="200" border="1" cellspacing="0" cellpadding="0" bordercolor="#d8d8d8"><br /> <tr><br /> <td bgcolor="FF9900"><br /> <font face="verdana" size="2" color=FFFFFF> 下拉“COOL”单<br /> </td><br /> <td align="right" width="21"><br /> <img src="<a target=_blank href="http://www.alixixi.com/UploadPic/userface/no1323.jpg">http://www.alixixi.com/UploadPic/userface/no1323.jpg</a>" name="combo_arrow" width="21" height="21" alt="" border="0" onclick="combo()" ></td><br /> </tr><br /></table><br /><div id="contents" style="position:absolute; left:?px; top:?px; width:?px; height:?px; z-index:1; visibility:hidden"><br /> <table width="200" border="1" cellspacing="0" cellpadding="0" bordercolor="#d8d8d8"><br /> <tr><br /> <td bgcolor="FF9900"><br /> <font face="verdana" size="2"><br /> <a href="#" target="_blank"> <img src="<a target=_blank href="http://img.alixixi.com/icon_indextool.gif">http://img.alixixi.com/icon_indextool.gif</a>" border="0" width="8" height="8"> LINK</a></p><p> <a href="#" target="_blank"> <img src="<a target=_blank href="http://img.alixixi.com/icon_indextool.gif">http://img.alixixi.com/icon_indextool.gif</a>" border="0" width="8" height="8"> LINK</a></p><p> <a href="#" target="_blank"> <img src="<a target=_blank href="http://img.alixixi.com/icon_indextool.gif">http://img.alixixi.com/icon_indextool.gif</a>" border="0" width="8" height="8"> LINK</a></p><p> </td><br /> </tr><br /></table><br /></td></tr><br /></table></p><p> </p>
页:
[1]