Perfect - thanks!
On Oct 28, 11:06 am, "Dan (Google Employee)" <[EMAIL PROTECTED]>
wrote:
> Hi Steven,
>
> I wrote a blog post on a compatibility method (basically having a non-
> home, non-canvas section for gadgets without canvas view) which you
> can see
> here:http://igoogledeveloper.blogspot.com/2008/06/supporting-views-while-k....
> With this design, you wouldn't be programatically determining if views
> were available, just defaulting to a non-view content section if they
> aren't.
>
> Alternatively, you can check for the existence of gadgets.views in
> your JS code. This will only be defined on pages where the canvas view
> is enabled, so you can use it to toggle canvas-view only features.
>
> Best,
> Dan
>
> On Oct 28, 8:37 am, Steven <[EMAIL PROTECTED]> wrote:
>
> > Hello,
>
> > I was wondering if someone could provide me with a way to to determine
> > programatically in my gadget whether or not canvas view is available.
>
> > Basically since canvas view is only available in the US (?) I want to
> > have links that allow the user to navigate to it - but I don't want to
> > display these links to a user in a non-us market where they don't have
> > access to the canvas view.
>
> > thanks for the help!
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---