pbcommun
08-27-2005, 04:44 PM
Let me start off by saying that i have NO knowledge of javascript....
There, now. Someone on another forum gave me this script to add two pulldown menus.
I need 5....
So, how do i "multiply" this to give me five dropdowns? Ive tried, and end up effing it all up. The tables within tables within divs within tables confuse me. :(
<table align="center">
<tr><td>
<table width="200" border="1" cellspacing="0" cellpadding="0" bordercolor="#d8d8d8">
<tr>
<td bgcolor="d8d8d8">
<font face="verdana" size="2"> Choose a link</font>
</td>
<td align="right" width="21"><A HREF="#" onclick="combo('contents')" >Menu</A></td>
</tr>
</table>
<div id="contents" style="position:absolute; left:?px; top:?px; width:?px; height:?px; z-index:1; visibility:hidden">
<table width="200" border="1" cellspacing="0" cellpadding="0" bordercolor="#d8d8d8">
<tr>
<td bgcolor="d8d8d8">
<font face="verdana" size="2">
<a href="http://javascript.internet.com" target="_blank">The Javascript Source</a><br>
<a href="http://www.wdvl.com/" target="_blank">WDVL</a><br>
<a href="http://webhost.thelist.com/" target="_blank">theList</a><br></font>
</td>
</tr>
</table>
</td></tr>
</table>
<table width="200" border="1" cellspacing="0" cellpadding="0" bordercolor="#d8d8d8">
<tr>
<td bgcolor="d8d8d8">
<font face="verdana" size="2"> Choose a link</font>
</td>
<td align="right" width="21">
<A HREF="#" onclick="combo('contents2')">Menu</A></td>
</tr>
</table>
<div id="contents2" style="position:absolute; left:?px; top:?px; width:?px; height:?px; z-index:1; visibility:hidden">
<table width="200" border="1" cellspacing="0" cellpadding="0" bordercolor="#d8d8d8">
<tr>
<td bgcolor="d8d8d8">
<font face="verdana" size="2">
<a href="http://javascript.internet.com" target="_blank">The Javascript Source</a><br>
<a href="http://www.wdvl.com/" target="_blank">WDVL</a><br>
<a href="http://webhost.thelist.com/" target="_blank">theList</a><br></font>
</td>
</tr>
</table>
</td></tr>
</table>
That's the code for two. Now, how about 5?
EDIT: okay guys, you REALLY need to turn html off....it keeps thinking im trying to post images, and it's saying "you have included too many images..." it's annoying :(
There, now. Someone on another forum gave me this script to add two pulldown menus.
I need 5....
So, how do i "multiply" this to give me five dropdowns? Ive tried, and end up effing it all up. The tables within tables within divs within tables confuse me. :(
<table align="center">
<tr><td>
<table width="200" border="1" cellspacing="0" cellpadding="0" bordercolor="#d8d8d8">
<tr>
<td bgcolor="d8d8d8">
<font face="verdana" size="2"> Choose a link</font>
</td>
<td align="right" width="21"><A HREF="#" onclick="combo('contents')" >Menu</A></td>
</tr>
</table>
<div id="contents" style="position:absolute; left:?px; top:?px; width:?px; height:?px; z-index:1; visibility:hidden">
<table width="200" border="1" cellspacing="0" cellpadding="0" bordercolor="#d8d8d8">
<tr>
<td bgcolor="d8d8d8">
<font face="verdana" size="2">
<a href="http://javascript.internet.com" target="_blank">The Javascript Source</a><br>
<a href="http://www.wdvl.com/" target="_blank">WDVL</a><br>
<a href="http://webhost.thelist.com/" target="_blank">theList</a><br></font>
</td>
</tr>
</table>
</td></tr>
</table>
<table width="200" border="1" cellspacing="0" cellpadding="0" bordercolor="#d8d8d8">
<tr>
<td bgcolor="d8d8d8">
<font face="verdana" size="2"> Choose a link</font>
</td>
<td align="right" width="21">
<A HREF="#" onclick="combo('contents2')">Menu</A></td>
</tr>
</table>
<div id="contents2" style="position:absolute; left:?px; top:?px; width:?px; height:?px; z-index:1; visibility:hidden">
<table width="200" border="1" cellspacing="0" cellpadding="0" bordercolor="#d8d8d8">
<tr>
<td bgcolor="d8d8d8">
<font face="verdana" size="2">
<a href="http://javascript.internet.com" target="_blank">The Javascript Source</a><br>
<a href="http://www.wdvl.com/" target="_blank">WDVL</a><br>
<a href="http://webhost.thelist.com/" target="_blank">theList</a><br></font>
</td>
</tr>
</table>
</td></tr>
</table>
That's the code for two. Now, how about 5?
EDIT: okay guys, you REALLY need to turn html off....it keeps thinking im trying to post images, and it's saying "you have included too many images..." it's annoying :(