L
Strengthening families through biblical principles.
Focus on the Family addresses the use of biblical principles in parenting and marriage to strengthen the family.
Read daily articles from Focus on the Family in the Marriage and Parenting Resources forum.
Try this code:Lakesider said:if anyone knows of a free drop-down menu that doesn't display the designer's name and doesn't jump so much and fits into the context of our site creatively and doesn't take up much memory and works on all platform (including Mac--not a big fan, sorry--applets and HMTL are often incompatible), I'm all ears...
<script>
function toggle(item){
if(item.style.display=='none'){item.style.display='';}
else{item.style.display='none';}
}
</script>
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td onclick="toggle(menu1)"><span style="cursor:hand">Item 1</span>
<table border="0" cellpadding="0" cellspacing="0" id="menu1" style="display:none">
<tr>
<td></td>
<td>Item 1.1</td>
</tr>
<tr>
<td></td>
<td>Item 1.2</td>
</tr>
<tr>
<td></td>
<td>Item 1.3</td>
</tr>
</table>
</td>
</tr>
<tr>
<td style="cursor:hand" onclick="toggle(menu2)"><span style="cursor:hand">Item 2</span>
<table border="0" cellpadding="0" cellspacing="0" id="menu2" style="display:none">
<tr>
<td></td>
<td>Item 2.1</td>
</tr>
<tr>
<td></td>
<td>Item 2.2</td>
</tr>
<tr>
<td></td>
<td>Item 2.3</td>
</tr>
</table>
</td>
</tr>
<tr>
<td style="cursor:hand" onclick="toggle(menu3)"><span style="cursor:hand">Item 3</span>
<table border="0" cellpadding="0" cellspacing="0" id="menu3" style="display:none">
<tr>
<td></td>
<td>Item 3.1</td>
</tr>
<tr>
<td></td>
<td>Item 3.2</td>
</tr>
<tr>
<td></td>
<td>Item 3.3</td>
</tr>
</table>
</td>
</tr>
</table>
Nice. It loads slower than mine, but then it also pops up over the page rather than adding stuff to the page. The overlay affect is nice. I could probably put it in mine, but I wrote it quick for a project, and just needed a collapsable menu.Lakesider said:Wish I had seen that one earlier...
but since I visited this forum last time I found one that is done with a script and dynamic html I think. Not an applet and it seems to load fairly quickly.
It's now on our site...see what you think. It's not nearly as hard to control as the previous one I was using, and seems to work on Explorer and Netscape, even on Mac.
http://www.fblakeside.org/news.html