[Project_owners] Have some problem with changing listbox label.

joe ertaba belaviyo at gmail.com
Sat Jul 7 13:11:00 PDT 2007


Any New idea ?

On 7/6/07, Ezequiel Calderara <ezechico at gmail.com> wrote:
>
> Danny and Lee Moretz, if you want unsuscribe to this list you can go this
> url and do so:
> http://mozdev.org/mailman/options/project_owners/mwclee@charter.net
> mozdev sends a reminder once per month about this...
> bye
>
> On 7/5/07, mwclee at charter.net < mwclee at charter.net> wrote:
> >
> > Please stop sending these messages to our e-mail address.  We do not
> > wish to be on a members list.
> >
> > Danny and Lee Moretz
> >
> > ---- eric.jung at yahoo.com wrote:
> > > You are right, it does not work. I don't know why, but I never use
> > <listbox/> because <tree/> does the same thing and more. If you use <tree/>
> > you won't have this problem.
> > >
> > >
> > >
> > > ----- Original Message ----
> > > From: joe ertaba <belaviyo at gmail.com>
> > > To: Mozdev Project Owners List < project_owners at mozdev.org>
> > > Sent: Thursday, July 5, 2007 8:44:30 AM
> > > Subject: Re: [Project_owners] Have some problem with changing listbox
> > label.
> > >
> > > Hi eric
> > >
> > > i do this by my self before sending this mail. but seems not works.
> > >
> > >
> > > On 7/5/07, eric.jung at yahoo.com
> > >  <eric.jung at yahoo.com> wrote:
> > > There's more than one way to do it, but the easiest:
> > >
> > >
> > > 1. Add an id attribute to the listcell:
> > > <listcell id="changeme" label="Not Set"/>
> > >
> > > 2. Add onclick handler to <label/>:
> > > <label id="MyId" value="Click here to edit font" onclick="
> > > document.getElementById("changeme").label='something'"/>
> > >
> > >
> > > ----- Original Message ----
> > > From: joe ertaba <belaviyo at gmail.com >
> > > To: Mozdev Project Owners List <
> > > project_owners at mozdev.org>
> > > Sent: Thursday, July 5, 2007 4:19:11 AM
> > > Subject: [Project_owners] Have some problem with changing listbox
> > label.
> > >
> > >
> > > Hi
> > >
> > > any
> > >  body can help me to change text of first line in below list "Not Set"
> > to "something" when user click on label with id="MyId"
> > >
> > >
> > >
> > > <?xml version="1.0"?>
> > > <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
> > >
> > > <window id="yourwindow" xmlns="
> > > http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul
> > > ">
> > > <script type="text/javascript">
> > > <![CDATA[
> > > // put some js code here
> > >
> > > ]]>
> > > </script>
> > > <label id="MyId" value="Click Here to Edit font"/>
> > >
> > >
> > >                 <listbox>
> > >                         <listhead >
> > >                             <listheader label="URL"/>
> > >
> > >                             <listheader label="Font Size"/>
> > >                         </listhead>
> > >
> > >                         <listcols>
> > >                                 <listcol/>
> > >
> > >                             <listcol flex="1"/>
> > >                         </listcols>
> > >                         <listitem >
> > >
> > >                             http://......1"/>
> > >
> > >                             <listcell  label="Not Set"/>
> > >                         </listitem>
> > >                         <listitem >
> > >                             http://......2"/>
> > >
> > >                             <listcell label="Not Set"/>
> > >                         </listitem>
> > >
> > >                 </listbox>
> > > </window>
> > >
> > > _______________________________________________
> > > Project_owners mailing list
> > > Project_owners at mozdev.org
> > >
> > > http://mozdev.org/mailman/listinfo/project_owners
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > _______________________________________________
> > > Project_owners mailing list
> > > Project_owners at mozdev.org
> > >
> > > http://mozdev.org/mailman/listinfo/project_owners
> > >
> > >
> > >
> > >
> > > _______________________________________________
> > > Project_owners mailing list
> > > Project_owners at mozdev.org
> > > http://mozdev.org/mailman/listinfo/project_owners
> > >
> > >
> > >
> > >
> >
> > _______________________________________________
> > Project_owners mailing list
> > Project_owners at mozdev.org
> > http://mozdev.org/mailman/listinfo/project_owners
> >
>
>
>
> --
> ______
> Ezequiel.
>
> Http://www.ironicnet.com
> _______________________________________________
> Project_owners mailing list
> Project_owners at mozdev.org
> http://mozdev.org/mailman/listinfo/project_owners
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mozdev.org/pipermail/project_owners/attachments/20070707/5c82fbb4/attachment.html 


More information about the Project_owners mailing list