You could check the dimensions of the gadget/page (document.body.clientWidth, document.body.clientHeight) and then display your image with the appropriate dimensions.
On Oct 8, 3:51 pm, yaip <[EMAIL PROTECTED]> wrote: > Take a look at this gadget: > > http://www.google.com/ig/directory?hl=en&url=www.justthinkart.com/goo... > > How can set the gadget such that the image size becomes dynamic. In > other words, if the gadget is used in iGoogle, the image is big. > However, if it is used in a blog (as a side-bar), the image size > should be small. Something like the slide-show gadget. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
