marquee in gwt

417 views
Skip to first unread message

Katta Vijay

unread,
Dec 21, 2011, 1:02:45 AM12/21/11
to Google Web Toolkit
how can i create a marquee in gwt ? is there any library available
for this in gwt .
i tried in this group previous posts there is no proper information
available .

can any one help me !

Harpal Grover

unread,
Dec 21, 2011, 2:29:25 PM12/21/11
to google-we...@googlegroups.com
GWT has an animation api. You can use this to create a marquee.


--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-we...@googlegroups.com.
To unsubscribe from this group, send email to google-web-tool...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.




--
Harpal Grover
President
Harpal Grover Consulting Inc

Ed

unread,
Dec 21, 2011, 2:49:40 PM12/21/11
to google-we...@googlegroups.com
Why not create the marque as html text and wrap it a HTML widget. You can wrap this all in a Composite widget.

Or create a Marquee class that extends Widget and create your own marquee Element in the constructor (just like other widgets as Label and HTML).
Then add public methods to modify/set the element attributes.


Hec Nev

unread,
May 7, 2013, 1:31:37 PM5/7/13
to google-we...@googlegroups.com
You can create the marquee effect using CSS, Try reading this: http://webdesign.about.com/od/css3tutorials/a/marquee-in-css.htm 
This way you don't need to code anything you just style the text container and thats pretty much it.

The obvious drawback about this approach is that you will not be able to control the marquee scrolling.
Reply all
Reply to author
Forward
0 new messages