OK not much feed back here then!
In the mean time I have the appropriate documentation.
T("#login").connectButton({
authComplete: function(user) {
// triggered when auth completed successfully
window.location=“layout.php#buttons”;
},
signOut: function() {
// triggered when user logs out
window.location=“issues.html”;
But this raises two more questions.
How can I delay the refresh by 2 seconds to allow the button to be viewed as connected by the user after connecting, and before re-loading the page? This is not too important, but it would be nice.
I have tried
Thread.sleep(2000);
but it does not work, well I guess because it is not in a Thread.
The next question is:-
when is signOut: function() actioned?
Michael