![]() |
.style.visibility = 'visible';
Hello This will not work:
:
function help()but this will :
function help()The label (xx) is set to visible=false in visual studio..could this by why |
Re: .style.visibility = 'visible';
:
Created css styles with display.block: false / true; names visible/hidden. works with everything not just divs sorry if im completely off topic :) |
Re: .style.visibility = 'visible';
There is no such thing as display:hidden. Your choices are display:block or display:none.
|
Re: .style.visibility = 'visible';
@dani: He isn't using the display attribute, he is using the visibility attribute of style which does contain hidden and visible.
@paulchwd: I am not sure what is wrong, but from the looks of it, it is exactly what I did below and it works for me. http://www.kylekonline.com/test/visible.html <= if you want to see it working. :
|
Re: .style.visibility = 'visible';
Quote:
though ill use hidden/visible for this css: :
:
:
Also using display:block/display:none means that IE won't substitute a hidden div with space, instead it will render nothing until told to. |
| All times are GMT -5. The time now is 4:43 PM. |
Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC