david_ste
08-26-2002, 08:35 PM
I have a form containing a couple of tables and two layers. What I want to happen is when someone clicks a radio button one of the layers appears or they both appear depending on what has been chosen, at the moment I have this working fine, but I also want the layers to move depending on what layer is on/off.
as in
<form>
<table>
option 1 on RadioB off RadioB
option 2 on RadioB off RadioB
</table>
<div>
content 1
</div>
<div>
content 2
</div>
</form>
Therefor if content 1 has not been chosen then content 2 should appear where content 1 is so as the user does not have to scroll down and can see something has changed. However if content 1 is on it should appear in its place and content 2 move down.
Thank You for any help in advance.
as in
<form>
<table>
option 1 on RadioB off RadioB
option 2 on RadioB off RadioB
</table>
<div>
content 1
</div>
<div>
content 2
</div>
</form>
Therefor if content 1 has not been chosen then content 2 should appear where content 1 is so as the user does not have to scroll down and can see something has changed. However if content 1 is on it should appear in its place and content 2 move down.
Thank You for any help in advance.