Hello jan,
Could you pls mail me the form code <html> so that I can add it tomy
code snippet, I can forsee a similar solution in my case.
Thanks


-----Original Message-----
From: Jan Kester [mailto:[EMAIL PROTECTED] 
Sent: Saturday, October 25, 2003 2:20 AM
To: Struts Users Mailing List
Subject: Re: hide section of form


Thanks, that saved a lot of time. Now on click of a button it will set 
layer style.display= "block" or set it "none". The visibility property 
is now not needed.

Regards, Jan

Todd G. Nist wrote


>Jan,
>
>Set the attribute display to "none" on the DIV and then set it to 
>"block". By setting it to "none" no space will be allocated for the 
>div.
>
>Regards,
>Todd G. Nist
>
>-----Original Message-----
>From: Jan Kester [mailto:[EMAIL PROTECTED]
>Sent: Friday, October 24, 2003 12:43 PM
>To: Struts Users Mailing List
>Subject: RE: hide section of form
>
>
>Thanks,
>
>I did add DHTML and used DIV with visibility hidden and visibility 
>visible. Only, the submit buttons that come afterwards, remain in the 
>same location. That is, when the questions are hidden, the buttons are 
>a far below in the page.
>
>Regards, Jan
>
>-----Mensaje original-----
>De: Rajat Pandit [mailto:[EMAIL PROTECTED]
>Enviado el: viernes, 24 de octubre de 2003 10:14
>Para: 'Struts Users Mailing List'
>Asunto: RE: hide section of form
>
>
>Thoug a non struts related question,  you might want to consider layers
>(DHTML) and make them visible or invisible. Try using dreamweaver. It 
>has a good tool for making layers
>
>-----Original Message-----
>From: Jan Kester [mailto:[EMAIL PROTECTED]
>Sent: Friday, October 24, 2003 12:59 AM
>To: Struts Users Mailing List
>Subject: hide section of form
>
>
>Hello
>
>how can I hide a section of my form with struts/javascript. That is, 
>someone presses a radio button and sees additional questions, presses 
>the opposite radio button and questions disappears. Without reloading 
>the form.
>
>Regards, Jan
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>  
>



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to