I updated the page with information about profile vs. canvas pages.
This is actually implemented in the current sandbox and also on ning.
Here is a function that will parse out an array of querystring
variables, followed by an example usage:
function getArgs() {
try {
var q = document.location.search.substring(1);
var a = q.split("&");
var args = {};
for (var i=0;i<a.length;i++) {
if (a[i] && a[i].indexOf('=')){
var arg = a[i].split('=');
args[arg[0]] = arg[1];
}
}
return args;
} catch(err) {
return {};
}
}
// get the arguments array:
var myArgs = getArgs();
// now the mode variable will be set to either "canvas" or "profile"
var mode = myArgs['mode'];
On Nov 5, 1:41 pm, "Jay Hoover (Snapvine)" <[EMAIL PROTECTED]>
wrote:
> I just added some additional requests related to implementing UI
> across profile and multiple canvas pages as well as some requests for
> information around activities.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"OpenSocial Developers" 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
-~----------~----~----~----~------~----~------~--~---