have two images one for battery red and battery green. you can define
them as sprites in your CSS under different style names like batteryRed,
BatteryGreen. Your logic can fire an event when the battery% has reached
above or below 40% and accordingly change the image by applying the
appropriate style (Red or green)
~Ashwin
On Sunday 24 July 2011 03:44 PM, sanjay kanwar wrote:
Hi There,
I have an battery image where i hav to show green line inside tht
battery when the battery power is more than 40% and red if its less
than 40%. Thx in Advance
Regards
Sam
--
You received this message because you are subscribed to the Google
Groups "Google Web Toolkit" 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-web-toolkit?hl=en.
--
You received this message because you are subscribed to the Google Groups "Google
Web Toolkit" 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-web-toolkit?hl=en.