ADVANCED PHP QUESTION
Posted: Mon Jun 23, 2003 8:09 am
Hi all,
I want to be able to create a menu which expands and collapses when you click the links.
also i want to be able to select the menu options by clicking a checkbox.
i want for example something like this:
the above example is the type of thing i'm looking for.
so for example if i click UK link not the checkbox, the option London appears, if i click London link then South and East appear.
If i click UK checkbox then everything underneath gets ticked.
does anyone know how to do this.
PLEASE PLEASE HELP.
I want to be able to create a menu which expands and collapses when you click the links.
also i want to be able to select the menu options by clicking a checkbox.
i want for example something like this:
Code: Select all
<HTML>
<BODY>
<input type="checkbox" name="checkbox" value="checkbox">
UK <br>
<input type="checkbox" name="checkbox2" value="checkbox">
London<br>
<input type="checkbox" name="checkbox3" value="checkbox">
South <br>
<input type="checkbox" name="checkbox3" value="checkbox">
East <br>
<input type="checkbox" name="checkbox4" value="checkbox">
Midlands<br>
<input type="checkbox" name="checkbox5" value="checkbox">
Leicetser
<br>
<input type="checkbox" name="checkbox5" value="checkbox">
Manchester <br>
<br>
<input type="checkbox" name="checkbox6" value="checkbox">
USA <br>
<input type="checkbox" name="checkbox2" value="checkbox">
New York<br>
</BODY>
</HTML>the above example is the type of thing i'm looking for.
so for example if i click UK link not the checkbox, the option London appears, if i click London link then South and East appear.
If i click UK checkbox then everything underneath gets ticked.
does anyone know how to do this.
PLEASE PLEASE HELP.