I kind of solved my problem (although I still don't understand why it
worked in the IDE but I suspect it must have perfect sense ;-) ).

In my javascript file I generated and added to the main view divs
<div name="divId" enabled="true" background="../images/ban_dirty.png" /
>

Please, note ".." at the beginning of the image's path. The IDE
somehow ignored it and show me "proper" preview.

Now, I removed "../" and it turns out that I can set up an element's
background as a picture and it works fine.

Best regards
fat bold cyclop


> When editing my new gadget I use construct like this:
> <div name="divId" enabled="true" background="images/ban_dirty.png" ></
> div>
>
> It works fine in the preview (in designer) -- the picture shows as the
> background.
> But when I run the gadget in Google Desktop the background is gone.
>
> Anybody nows why there's the difference?
> (I know the specs says that background attribute is for setting the
> background color, not image, but still...)

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Desktop Developer Group" 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-Desktop-Developer?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to