Is there any way to detect when a user switches between canvas and
home views? I'd like to change the title of my gadget based on the
view.
I tried inserting the following code at the top of my javascript:
alert("View = " + gadgets.views.getCurrentView().getName());
The alert shows up when going from canvas to home, but not from home
to canvas.
Thanks!
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---