Created
April 28, 2011 13:46
-
-
Save tyage/946375 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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