Re: [xul-interop] How to change the visibility of an element at runtime?

Evgeny <[email protected]> Fri, 8 Oct 2010 18:15:22 +0400
Newsgroups gmane.comp.lang.xul.general
Message-ID <[email protected]>
--===============8829608261045173114==
Content-Type: multipart/alternative; boundary=00163684828333d11204921ba433

--00163684828333d11204921ba433
Content-Type: text/plain; charset=ISO-8859-1

Set collapsed="true" or hidden="true" attribute to element itself (
img.collapsed="true")
Or setf CSS property display to 'none'



On Fri, Oct 8, 2010 at 4:28 PM, Tom Brito <[email protected]> wrote:

> I can change the visibility of an element in the CSS,
> but if I try to change an <image> style visibility it says that the
> attribute is read only.
>
> Any hint?
>
>
> *
> Wellington B. de Carvalho
> *
>
>
> ------------------------------------------------------------------------------
> Beautiful is writing same markup. Internet Explorer 9 supports
> standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
> Spend less time writing and  rewriting code and more time creating great
> experiences on the web. Be a part of the beta today.
> http://p.sf.net/sfu/beautyoftheweb
> _______________________________________________
> XUL News Wire      - http://xulnews.com
> XUL Job Postings   - http://xuljobs.com
> Open XUL Alliance - http://xulalliance.org
> _______________________________________________
> xul-talk mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/xul-talk
>
>

--00163684828333d11204921ba433
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div>Set collapsed=3D&quot;true&quot; or hidden=3D&quot;true&quot; attribut=
e to element itself ( img.collapsed=3D&quot;true&quot;)<br></div><div>Or se=
tf CSS property display to &#39;none&#39;</div><div><br></div><div><br></di=
v><br>
<div class=3D"gmail_quote">On Fri, Oct 8, 2010 at 4:28 PM, Tom Brito <span =
dir=3D"ltr">&lt;<a href=3D"http://brito.pro">brito.pro</a>@<a href=3D"http:=
//gmail.com">gmail.com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_=
quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1=
ex;">
I can change the visibility of an element in the CSS,<div>but if I try to c=
hange an &lt;image&gt; style visibility it says that the attribute is read =
only.</div><div><br></div><div>Any hint?<br clear=3D"all"><div><br></div>
<div>

<br></div><i><div style=3D"text-align:left"><span style=3D"font-style:norma=
l"><i>Wellington B. de Carvalho</i></span></div></i><br>
</div>
<br>-----------------------------------------------------------------------=
-------<br>
Beautiful is writing same markup. Internet Explorer 9 supports<br>
standards for HTML5, CSS3, SVG 1.1, =A0ECMAScript5, and DOM L2 &amp; L3.<br=
>
Spend less time writing and =A0rewriting code and more time creating great<=
br>
experiences on the web. Be a part of the beta today.<br>
<a href=3D"http://p.sf.net/sfu/beautyoftheweb" target=3D"_blank">http://p.s=
f.net/sfu/beautyoftheweb</a><br>___________________________________________=
____<br>
XUL News Wire =A0 =A0 =A0- <a href=3D"http://xulnews.com" target=3D"_blank"=
>http://xulnews.com</a><br>
XUL Job Postings =A0 - <a href=3D"http://xuljobs.com" target=3D"_blank">htt=
p://xuljobs.com</a><br>
Open XUL Alliance - <a href=3D"http://xulalliance.org" target=3D"_blank">ht=
tp://xulalliance.org</a><br>
_______________________________________________<br>
xul-talk mailing list<br>
<a href=3D"mailto:[email protected]">[email protected]=
e.net</a><br>
<a href=3D"https://lists.sourceforge.net/lists/listinfo/xul-talk" target=3D=
"_blank">https://lists.sourceforge.net/lists/listinfo/xul-talk</a><br>
<br></blockquote></div><br>

--00163684828333d11204921ba433--


--===============8829608261045173114==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
--===============8829608261045173114==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
XUL News Wire      - http://xulnews.com
XUL Job Postings   - http://xuljobs.com
Open XUL Alliance - http://xulalliance.org  
_______________________________________________
xul-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xul-talk

--===============8829608261045173114==--