I have added 1.png and 2.png to the Resource folder and
this code to the shell.js but no result...
function initTabs() {
function gotoInfo() {
lg.page.open('info'); // I'd like someting like that...
}
function gotoContacts() {
lg.page.open('contacts'); // I'd like someting like that...
}
lg.tabs.add({btn:1, title:‘Home’, icon:‘1.png’,
callback:‘gotoInfo′});
lg.tabs.add({btn:2, title:‘Files’, icon:‘2.png’,
callback:‘gotoContacts′});
lg.tabs.show();
}
initTabs();