XP
Wed May 09 21:11:00 CDT 2007
Hi Ayush,
Thanks for the reply; you've helped many times and I appreciate it;
I'm afraid your response is a little over my head; is there a chance you
could elaborate a bit more...?
Is your solution JScript? - is there a VBScript solution?
Thanks
"Ayush" <"ayushmaan.j[aatt]gmail.com" wrote:
> [XP]s message :
> > Is it possible to hide a control until it is needed? Like a visible or hidden
> > property?
> >
> > In particular I'm looking at a listbox and a button...
> >
> > Could someone please post example code that does it?
> >
> > Thanks a lot for your help.
>
>
> Yes. Use the display:none or Visibility:hidden CSS properties.
>
> Untested code:
>
> <div id="hideShow">
> <select >
> <option>...
> ....
> </select>
> <button ..>Something</button>
> </div>
> <button onclick="toggleDisplay">Hide/Show</button>
>
> In toggleDisplay:
> Sub toggleDisplay
> If hideShow.style.display="none" Then
> hideShow.style.display=""
> Else
> hideShow.style.display="none"
> End If
> End Sub
>
> Good Luck, Ayush.
> --
> Scripting Solutions Center :
http://snipurl.com/Scripting_Solutions
>