Hi Vijay,

If you need to apply a consistent color across all mini messages, CSS is the
preferred solution.

You will need to apply CSS to the mmlib_table style, as mmlib_xlink is just
for the dismiss button on the message.

So in your case you might want to place the following style into your gadget
code:

<style> .mmlib_table__MODULE_ID__ { color: #4D94FF; } </style>

Kind Regards,
Paul Kinlan


On Wed, Feb 10, 2010 at 10:13 AM, Vijay Sunkavalli <
[email protected]> wrote:

> Hi,
>
> I'm trying to style my Mini Messages(Timer based). I'm able to do it
> by setting styles to the object returned, something like..
>
> var msgStyles = msg.createTimerMessage("My Messge", 5);
> msgStyles.style.color = "#4D94FF";
>
> But this is very cumbersome and difficult to put multiple style
> statements to each msg. Is there any other way ? May b using CSS. I
> read in docs abt ".mmlib_xlink" but never understood it. :(
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "iGoogle Developer Forum" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-gadgets-api%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/Google-Gadgets-API?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"iGoogle Developer Forum" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/Google-Gadgets-API?hl=en.

Reply via email to