如何在table图片导航下面加下拉菜单代码? 15
我想在这段代码表格下面下拉4个菜单,如何写?<td><ahref="pinpai.asp"><imgsrc="images/jiu/jiuhead/jiuhead5.pn...
我想在 这段代码表格下面 下拉4个菜单,如何写?
<td><a href="pinpai.asp"><img src="images/jiu/jiuhead/jiuhead5.png" width="105" height="64" border="0" /></a></td>
<table width="1260" height="25" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="24" ></td>
</tr>
<tr>
<td ><table width="1260" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="images/jiu/jiuhead/jiuhead1.png" width="213" height="64" border="0" /></td>
<td><img src="images/jiu/jiuhead/jiuhead2.png" width="126" height="64" /></td>
<td><a href="index.asp"><img src="images/jiu/jiuhead/jiuhead3.png" width="90" height="64" border="0" /></a></td>
<td><a href="about.asp"><img src="images/jiu/jiuhead/jiuhead4.png" width="106" height="64" border="0" /></a></td>
<td><a href="pinpai.asp"><img src="images/jiu/jiuhead/jiuhead5.png" width="105" height="64" border="0" /></a></td>
<td><a href="#"><img src="images/jiu/jiuhead/jiuhead6.png" width="104" height="64" border="0" /></a></td>
<td><a href="#"><img src="images/jiu/jiuhead/jiuhead7.png" width="105" height="64" border="0" /></a></td>
<td><a href="#"><img src="images/jiu/jiuhead/jiuhead8.png" width="105" height="64" border="0" /></a></td>
<td><a href="contact.asp"><img src="images/jiu/jiuhead/jiuhead9.png" width="109" height="64" border="0" /></a></td>
<td><img src="images/jiu/jiuhead/jiuhead10.png" width="196" height="64" border="0" /></td>
</tr>
</table></td>
</tr>
</table> 展开
<td><a href="pinpai.asp"><img src="images/jiu/jiuhead/jiuhead5.png" width="105" height="64" border="0" /></a></td>
<table width="1260" height="25" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="24" ></td>
</tr>
<tr>
<td ><table width="1260" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="images/jiu/jiuhead/jiuhead1.png" width="213" height="64" border="0" /></td>
<td><img src="images/jiu/jiuhead/jiuhead2.png" width="126" height="64" /></td>
<td><a href="index.asp"><img src="images/jiu/jiuhead/jiuhead3.png" width="90" height="64" border="0" /></a></td>
<td><a href="about.asp"><img src="images/jiu/jiuhead/jiuhead4.png" width="106" height="64" border="0" /></a></td>
<td><a href="pinpai.asp"><img src="images/jiu/jiuhead/jiuhead5.png" width="105" height="64" border="0" /></a></td>
<td><a href="#"><img src="images/jiu/jiuhead/jiuhead6.png" width="104" height="64" border="0" /></a></td>
<td><a href="#"><img src="images/jiu/jiuhead/jiuhead7.png" width="105" height="64" border="0" /></a></td>
<td><a href="#"><img src="images/jiu/jiuhead/jiuhead8.png" width="105" height="64" border="0" /></a></td>
<td><a href="contact.asp"><img src="images/jiu/jiuhead/jiuhead9.png" width="109" height="64" border="0" /></a></td>
<td><img src="images/jiu/jiuhead/jiuhead10.png" width="196" height="64" border="0" /></td>
</tr>
</table></td>
</tr>
</table> 展开
1个回答
2015-07-24
展开全部
<select>
<option value="1">option1</option>
<option value="2">option2</option>
</select>
<script type="text/javascript">
function fnAdd(){//兼容IE,FF,Opera,Chrome
var oOption=document.createElement("option");
document.getElementById("#oList").options.add(oOption);
oOption.text="option3";
oOption.value="3";
}
function fnRemoveChild(){//兼容IE,FF,Opera,Chrome
document.getElementById("#oList")).removeChild(document.getElementById("#oList").lastChild);
}
function fnRemove(){
//兼容IE,FF,Opera,Chrome
document.getElementById("#oList").remove(0);
}
</script>
<option value="1">option1</option>
<option value="2">option2</option>
</select>
<script type="text/javascript">
function fnAdd(){//兼容IE,FF,Opera,Chrome
var oOption=document.createElement("option");
document.getElementById("#oList").options.add(oOption);
oOption.text="option3";
oOption.value="3";
}
function fnRemoveChild(){//兼容IE,FF,Opera,Chrome
document.getElementById("#oList")).removeChild(document.getElementById("#oList").lastChild);
}
function fnRemove(){
//兼容IE,FF,Opera,Chrome
document.getElementById("#oList").remove(0);
}
</script>
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询