> You can use createElement to dynamically create your imgs. 
> Seehttp://code.google.com/apis/desktop/docs/gadget_apiref.html#basicElement
> for the supported functions to create elements.
As far as I know there is no createElement function. Instead, as the
specs says, you can use:
appenElement - to add the element as the last child, or
insertElement - to add the element before the element given as the
attribute to the method.

If you are looking for an example, please refer to this gadget:
http://desktop.google.com/plugins/i/chess.html
To do so:
1. download the gadget.
2. change it's extension from .gg to .zip.
3. unzip the file.
4. browse the contents (especially draws.js).

The author(s) "draw" entire chess board by creating dynamically div
and img elements.

Hope it helps,
fat bold cyclop

--~--~---------~--~----~------------~-------~--~----~
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