[Dojo-interest] tabContainer programmability change label text /
replace with image
Yogesh Mujumdar
yogesh.mujumdar at gmail.com
Sat Jan 6 06:08:08 MST 2007
add an id to the tab regardless of creating the tab from markup or
programatically. dojo.dom package has got function to get a unique dom id on
the fly if you are creating them programatically. Apply the id to the tab so
you can retrieve the widget back to change the style.
On 1/6/07, Paul Bearne <pbearne at gmail.com> wrote:
>
> Hi
>
> But how to i reffences the tab as it doesn't have an id?
>
> Paul
>
> On 1/6/07, Yogesh Mujumdar < yogesh.mujumdar at gmail.com> wrote:
> >
> > Use dojo.html.style package. It has got methods to add/remove/replace
> > CSS style classes.
> >
> > On 1/5/07, Paul Bearne < pbearne at gmail.com > wrote:
> > >
> > > Hi
> > >
> > > I have worked out a simple effect where I add an animated image to the
> > > background of the label
> > >
> > > So how to address the tab and add/remove the style/class
> > >
> > > I need to change the class/style on the span inside the dojoTab
> > >
> > >
> > > this is what I what to add
> > > .dojoTab span{
> > > background-image:url(/images/indicator.white.gif);
> > > background-position:right;
> > > background-repeat:no-repeat;
> > > }
> > >
> > >
> > > How to I get to this element?
> > >
> > > Paul
> > >
> > >
> > > On 1/4/07, Yogesh Mujumdar < yogesh.mujumdar at gmail.com> wrote:
> > > >
> > > > Just use a simple message and fade it away or use the Toaster
> > > > widget. Dont use progress bars, not a good idea.
> > > >
> > > > On 1/4/07, Paul Bearne < pbearne at gmail.com> wrote:
> > > >
> > > > > Hi all
> > > > >
> > > > > I have a tabContainer in which one section has actions that cause
> > > > > changes to happen in the other tabs
> > > > >
> > > > > And this is not clear that this has happen
> > > > >
> > > > > I need a way to shown that has happened (I need to be able to
> > > > > shown that the contact of a tab has changed/is changing)
> > > > >
> > > > > i.e. change the text to "loading.."
> > > > > add a load image in front of the tab
> > > > > change the tab color
> > > > > add a progress bar into the tab
> > > > >
> > > > > or any other ideas you have
> > > > >
> > > > >
> > > > > Paul
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > _______________________________________________
> > > > > Dojo FAQ: http://dojo.jot.com/FAQ
> > > > > Dojo Book: http://manual.dojotoolkit.org/DojoDotBook
> > > > > Dojo-interest at dojotoolkit.org
> > > > > http://dojotoolkit.org/mailman/listinfo/dojo-interest
> > > > >
> > > > >
> > > > >
> > > >
> > > >
> > > > --
> > > > regards/Yogesh
> > > > _______________________________________________
> > > > Dojo FAQ: http://dojo.jot.com/FAQ
> > > > Dojo Book: http://manual.dojotoolkit.org/DojoDotBook
> > > > Dojo-interest at dojotoolkit.org
> > > > http://dojotoolkit.org/mailman/listinfo/dojo-interest
> > > >
> > > >
> > > >
> > >
> > > _______________________________________________
> > > Dojo FAQ: http://dojo.jot.com/FAQ
> > > Dojo Book: http://manual.dojotoolkit.org/DojoDotBook
> > > Dojo-interest at dojotoolkit.org
> > > http://dojotoolkit.org/mailman/listinfo/dojo-interest
> > >
> > >
> > >
> >
> >
> > --
> > regards/Yogesh
> >
> > _______________________________________________
> > Dojo FAQ: http://dojo.jot.com/FAQ
> > Dojo Book: http://manual.dojotoolkit.org/DojoDotBook
> > Dojo-interest at dojotoolkit.org
> > http://dojotoolkit.org/mailman/listinfo/dojo-interest
> >
> >
> >
>
> _______________________________________________
> Dojo FAQ: http://dojo.jot.com/FAQ
> Dojo Book: http://manual.dojotoolkit.org/DojoDotBook
> Dojo-interest at dojotoolkit.org
> http://dojotoolkit.org/mailman/listinfo/dojo-interest
>
>
>
--
regards/Yogesh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://dojotoolkit.org/pipermail/dojo-interest/attachments/20070106/843af532/attachment.html
More information about the Dojo-interest
mailing list