Skip to content

Instantly share code, notes, and snippets.

🎯
Busy

Nazır Doğan nazrdogan

🎯
Busy
View GitHub Profile
View gist:6094168
Merhaba Zalim Dünya!
@nazrdogan
nazrdogan / gist:6140258
Last active Dec 20, 2015
Titanium DrillDown Menu
View gist:6140258
Titanium.UI.setBackgroundColor('#000');
// TAB GRUBU OLUŞTUR
var tabGroup = Titanium.UI.createTabGroup();
// ANA WİNDOW OLUŞTURULUR BUNU HTML'DE BODY GİBİ DÜŞÜNEBİLİRİSNİZ
var win1 = Titanium.UI.createWindow({
title:'Tab 1',
backgroundColor:'#fff'
});
var tab1 = Titanium.UI.createTab({
title:'Tab 1',
View gist:6140364
//Tab bar'ını gizleme için tabBarHidden:true,
var win1 = Titanium.UI.createWindow({
title:'My Drilldown',
backgroundColor:'#fff',
tabBarHidden: true,
});
@nazrdogan
nazrdogan / gist:6140370
Created Aug 2, 2013
Titanium DrillDown Menu-Tabbar Gizleme
View gist:6140370
//Tab bar'ını gizleme için tabBarHidden:true,
var win1 = Titanium.UI.createWindow({
title:'My Drilldown',
backgroundColor:'#fff',
tabBarHidden: true,
});
@nazrdogan
nazrdogan / gist:6140384
Last active Dec 20, 2015
Titanium DrillDown Menu -Tablo Ekleme
View gist:6140384
var main_menu = Ti.UI.createTableView({
style:Titanium.UI.iPhone.TableViewStyle.GROUPED,
scrollable:false
});
@nazrdogan
nazrdogan / gist:6140454
Created Aug 2, 2013
Titanium Drilldown Menu-Row ekleme
View gist:6140454
var firstItemRow = Ti.UI.createTableViewRow({
hasChild: true
});
var firstItemLabel = Ti.UI.createLabel({
left: 9,
text: "Birinci"
});
firstItemRow.add(firstItemLabel);
main_menu.appendRow(firstItemRow);
@nazrdogan
nazrdogan / gist:6140515
Created Aug 2, 2013
Titanium Drilldown Menu-Alt Menu
View gist:6140515
var sub_win1 = Ti.UI.createWindow({title:'Alt Window-1'});
var sub_table1 = Ti.UI.createTableView({style:Titanium.UI.iPhone.TableViewStyle.GROUPED});
var sub_row1 = Ti.UI.createTableViewRow();
var sub_label1 = Ti.UI.createLabel({left:9, text: "Alt Menu 1!"});
sub_row1.add(sub_label1);
sub_table1.appendRow(sub_row1);
sub_win1.add(sub_table1);
// sub window 2
var sub_win2 = Ti.UI.createWindow({title:' Alt Window 2'});
var sub_table2 = Ti.UI.createTableView({style:Titanium.UI.iPhone.TableViewStyle.GROUPED});
@nazrdogan
nazrdogan / gist:6140516
Created Aug 2, 2013
Titanium Drilldown Menu-Alt Menu
View gist:6140516
var sub_win1 = Ti.UI.createWindow({title:'Alt Window-1'});
var sub_table1 = Ti.UI.createTableView({style:Titanium.UI.iPhone.TableViewStyle.GROUPED});
var sub_row1 = Ti.UI.createTableViewRow();
var sub_label1 = Ti.UI.createLabel({left:9, text: "Alt Menu 1!"});
sub_row1.add(sub_label1);
sub_table1.appendRow(sub_row1);
sub_win1.add(sub_table1);
// sub window 2
var sub_win2 = Ti.UI.createWindow({title:' Alt Window 2'});
var sub_table2 = Ti.UI.createTableView({style:Titanium.UI.iPhone.TableViewStyle.GROUPED});
@nazrdogan
nazrdogan / gist:6140541
Created Aug 2, 2013
Titanium DrillDown -Event'ler
View gist:6140541
// 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) {
@nazrdogan
nazrdogan / gist:6140679
Created Aug 2, 2013
Titanium DrillDown -Tamamı
View gist:6140679
Titanium.UI.setBackgroundColor('#000');
// TAB GRUBU OLUŞTUR
var tabGroup = Titanium.UI.createTabGroup();
// ANA WİNDOW OLUŞTURULUR BUNU HTML'DE BODY GİBİ DÜŞÜNEBİLİRİSNİZ
var win1 = Titanium.UI.createWindow({
title:'kayhankirgiz.com',
backgroundColor:'#fff' ,
tabBarHidden:true
});
var tab1 = Titanium.UI.createTab({
You can’t perform that action at this time.