SOT: setting div visibility with javascript

2008-10-10 Thread Scott Stewart
Hey all, If I'm setting the visibility for a div (display:none or display:block in this case), do also need to set visibility for anything inside the div. IE: div id=a style=display:none; span class=whatever blah /span /div If I wanted this to not display, and behave properly,

Re: SOT: setting div visibility with javascript

2008-10-10 Thread Peter Boughton
If I'm setting the visibility for a div (display:none or display:block in this case), do also need to set visibility for anything inside the div. Nope - you only need to do it to the parent item. Note, you're not setting visibility, you're setting display. This isn't being pedantic; there is

Re: SOT: setting div visibility with javascript

2008-10-10 Thread Scott Stewart
No I understand that, display determines whether the the div will be rendered and visibility sets similar to opacity=0, you can't see it but it's there Peter Boughton wrote: If I'm setting the visibility for a div (display:none or display:block in this case), do also need to set visibility

SOT: setting div visibility with javascript (fixed)

2008-10-10 Thread Scott Stewart
There was a call to a second function that was messing with the display settings. I removed the display settings from Q4Chk() and placed them in the second function and all is well.. Thanks to all for letting me bounce this off of you sas