I apologize if this question has been answered in a previous
discussion. If it has, I'd greatly appreciate a response with a link
to the solution.
So, I'm trying to have my gadget/widget detect whether it is in an
OpenSocial container or not. I've been trying to check to see if the
opensocial namespace exists, but haven't had much luck with that
approach--i'm guessing this is because different containers may
implement OpenSocial differently(?) So does anyone know of a standard
way to detect OpenSocial?
And here's my test function, in case I'm going about this all wrong:
function hasOpenSocial(){
if( !!opensocial ){
return true;
}else{
return false;
}
Thanks,
Erica
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"OpenSocial API Definition" 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/opensocial-api?hl=en
-~----------~----~----~----~------~----~------~--~---