Skip to content

Instantly share code, notes, and snippets.

@nazrdogan
Created August 2, 2013 15:00
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 nazrdogan/6140541 to your computer and use it in GitHub Desktop.
Save nazrdogan/6140541 to your computer and use it in GitHub Desktop.
Titanium DrillDown -Event'ler
// add the event to the first item
firstItemRow.addEventListener('click', function (e) {
tab1.open(sub_win1);
});
// add the event to the second item
secondItemRow.addEventListener('click', function (e) {
tab1.open(sub_win2);
});
// add the event to the third item
thirdItemRow.addEventListener('click', function (e) {
tab1.open(sub_win3);
});
// add the event to the fourth item
fourthItemRow.addEventListener('click', function (e) {
tab1.open(sub_win4);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment