Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #12283
| From | Scott Johnson <noonehome@chalupasworld.com> |
|---|---|
| Newsgroups | comp.lang.javascript |
| Subject | Re: hide image |
| Date | 2012-02-29 06:12 -0800 |
| Organization | A noiseless patient Spider |
| Message-ID | <jilbos$pgj$1@dont-email.me> (permalink) |
| References | <311c476d-3627-445e-ad4d-67293693d5fa@s13g2000yqe.googlegroups.com> <jij57n$ri9$1@online.de> <XnsA008680E7DDC0eejj99@194.109.133.133> |
On 2/29/2012 1:13 AM, Evertjan. wrote:
> Christoph Hansen wrote on 28 feb 2012 in comp.lang.javascript:
>
>> cerr schrieb:
>>
>>> document.getElementById('editimg'+element).display = "none";
>>
>> try this
>>
>> document.getElementById('editimg'+element).style.display="none"
>
> That is "not displaying".
>
> Wouldn't call that "hiding" in html/css sense, try:
>
> document.getElementById('x').style.visibility = "hidden";
>
Just jumping in out of curiosity.
Is the difference between visibility and display the maintaining of the
element flow?
Will Display take the element out of the flow where as visibility will
keep it (sort of like a place holder so layout does not suffer)?
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
hide image cerr <ron.eggler@gmail.com> - 2012-02-27 16:26 -0800
Re: hide image Andrew Poulos <ap_prog@hotmail.com> - 2012-02-28 13:04 +1100
Re: hide image cerr <ron.eggler@gmail.com> - 2012-02-28 09:27 -0800
Re: hide image Martin Pearman <warwound@gmail.com> - 2012-02-27 21:20 -0800
Re: hide image cerr <ron.eggler@gmail.com> - 2012-02-28 09:27 -0800
Re: hide image Christoph Hansen <ch@radamanthys.de> - 2012-02-28 19:08 +0100
Re: hide image "Evertjan." <exjxw.hannivoort@interxnl.net> - 2012-02-29 09:13 +0000
Re: hide image Scott Johnson <noonehome@chalupasworld.com> - 2012-02-29 06:12 -0800
Re: hide image Scott Sauyet <scott.sauyet@gmail.com> - 2012-02-29 07:16 -0800
Re: hide image Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-02-29 16:51 +0100
Re: hide image "Evertjan." <exjxw.hannivoort@interxnl.net> - 2012-02-29 16:08 +0000
csiph-web