Skip to content

Instantly share code, notes, and snippets.

@kwhinnery
Created December 16, 2009 17:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kwhinnery/257998 to your computer and use it in GitHub Desktop.
Save kwhinnery/257998 to your computer and use it in GitHub Desktop.
var info = Titanium.UI.createButton({
image:'/img/info.png'
});
var infoWin = Titanium.UI.createWindow({
url:'info.html'
});
info.addEventListener('click',function() {
infoWin.open( {animated:'true'} );
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment