Hi all,
I am trying to open google.accounts.user.login(scope) in a new pop-up
window, whenever user tries to login he should get the pop-up.
My code goes like this,
function doLogin() {
scope = "http://www.google.com/calendar/feeds";
var token =
window.open(google.accounts.user.login(scope),"testing", "width=350; height
= 350", callbackfunction);
}
Now, here i am trying to open the user credentials window in a new pop-up
window rather than in the parent window itself, once i log in the callback
function will pass me the token and the pop-up gets closed.
please let me know if this could be possible.
Thanks in advance.
--
You received this message because you are subscribed to the Google
Groups "Google Calendar Data API" 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://code.google.com/apis/calendar/community/forum.html