Skip to content

Instantly share code, notes, and snippets.

@tyage
Created April 28, 2011 13:46
Show Gist options
  • Save tyage/946375 to your computer and use it in GitHub Desktop.
Save tyage/946375 to your computer and use it in GitHub Desktop.
var mixiButton = Titanium.UI.createButton({
title: 'Connect With mixi',
width: 200,
height: 40,
top: 200
});
var facebookButton = Titanium.UI.createButton({
title: 'Connect With facebook',
width: 200,
height: 40,
top: 200
});
var loginButton = Titanium.UI.createButton({
title: 'Login',
width: 200,
height: 40,
top: 200
});
loginButton.addEventListener('click', function() {
Titanium.UI.createWindow({
title: 'Login'
url: 'login.js'
}).open();
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment