View Full Version : javascript menu help PLZ

06-01-2005, 03:47 AM
Hi all, this part of my site is givingh me headaches... can any one help me please
This script has one main menu which always starts open when you open the window... firstly how can i make it so they has to click it to view whats inside of it??? and secondly i need to have atleast five more menus at the start closed as well can any one help me please?

<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META HTTP-EQUIV="REFRESH" CONTENT=1200><!--20 minute refresh-->
function toggle(i) {
if (i.style.display=="none")
<LINK REL="STYLESHEET" TYPE="text/css" HREF="msgrtabs.css">
<BODY BGCOLOR="#ffffff" TOPMARGIN=0 LEFTMARGIN=5 BACKGROUND="img/waterlogo.gif" >
<TABLE width=100% border="0" cellspacing="0" cellpadding="0">
<TR id="aa">
<TD> <table width=100% border="0" cellspacing="0" cellpadding="0">
<td height="20" colspan="3"><img src="img/spacer.gif" width="1" height="8" alt="" border="0"></td>
<td align=left> <a href="#" onClick="toggle(a)"> <img id="glyph" src="img/collaps.gif" width="15" height="15" border="0" alt="">
</a> </td>
<td width="100%" align="left" background="img/" style="padding-left: 5px;">
<p><a class="label" href="#" onClick="toggle(a)" title=""><b><font size=+1> <i><u>Services
Avalible Through Comspec NT</a> </p></td>
<td align=right background="img/">&nbsp;</td>
<tr id="a">

<td colspan="2"> <a class="alert" href="#"><B><U>Largest range of cables in Alice Springs</b></u></a><br>We stock by far the largest

amount of cables in Alice Springs which lead from audio and visual to computer cables, brands from AnyWare(tm), Avico(tm) and Cabac(tm) Come

in and have alook today.<br><br><br>
<a class="alert" href="http://www.comspec.com.au" target="_blank"><B><U>Join Westnet For Unbelivable Dialup and ADSL

Rates</b></U></a><br><font color=red><b>WestNet</font></b> is one of <b><font color=red>the fastest growing Internet Providers</font></b>,

providing the most <b><font color=red>affordable plans to suit your needs</font></b>. prices start from as low as <b><font color=red>$11/mo

for dialup plans</font></b> and <b><font color=red>$19.95/mo ADSL.</font></b><br>WestNet was Voted Number One For Customer Satisfaction<br>

click on the links below for more information or come and <b><font color=red>visit our store for more information</b></font>
<br><a href="http://www.westnet.com.au/includes/docs/adsl/ADSLPricing.pdf" target="_blank">ADSL PRICING</A><br>
<a href="http://www.westnet.com.au/includes/docs/dialuppricing.pdf" target="_blank">Dial Up Pricing</A>
<br><a href="https://secure1.wn.com.au/signup/default.aspx?resellerid=3332" target="_blank">Sign Up Now For Internet Access</a></td><br>


<TD colspan="3"><IMG SRC="img/spacer.gif" WIDTH="1" HEIGHT="8" ALT="" BORDER="0"></TD>


06-01-2005, 03:51 AM
um by the way anyone who knows of a better script thatll do a better job please let me no...