Hi, I don't know whether it is a good idea to hide the gadget completely. Normally such behavior would distract the user. However, to minimize it to the smallest possible size is a good idea.
One possibility could be to hide the gadgets inner content, just display a single text line (as info for the user saying "Nothing to display right now" or similar) and then to automatically shrink the gadget height to that single line. This url should be helpful http://code.google.com/apis/gadgets/docs/ui.html#Dyn_Height Cheers On May 19, 1:05 am, Bernd <[email protected]> wrote: > Is there any way to trigger the minimizing and expanding from within the > gadget itself? There is a menu item in each gadget's menu but I could not > find any API function to do this. I have tried poking around with firebug to > see if I could find out what function is called when I click this menu item > but my limited knowledge of firebug prevented this. > > Basically I need the following: my gadget has a button to mark all items > read and then it should collapse into the smallest possible state, ideally > only the title bar left (or if this is possible even completely hidden) and > if it receives new data from its feed it should expand itself again. > > Is this possible? > > TIA, > Bernd -- 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.
