Fixed the JS code as well as added Yoann's switchTo script as "lg.page.open". You will need to update the JS files from the SVN. Then try this index.html,
<html>
<head>
<meta name="viewport" content="width=320; user-scalable=no" />
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
<title>LiquidGear</title>
<link rel="stylesheet" href="css/styles.css" type="text/css" media="screen" charset="utf-8">
<script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
<script type="text/javascript" charset="utf-8" src="js/lg_iphone.js"></script>
<script type="text/javascript" charset="utf-8" src="js/lg_iphone_ui.js"></script>
<script type="text/javascript">
//This will call your init function when everything is loaded
lg.bind('lg_init', initTabs);
function initTabs() {
lg.tabs.add({btn:1, title:'Home', icon:'btn1.png', callback:'gotoInfo()'});
lg.tabs.add({btn:2, title:'Files', icon:'btn2.png', callback:'gotoContacts()'});
lg.tabs.show();
}
function gotoInfo() {
lg.page.open('info'); // I'd like someting like that...
}
function gotoContacts() {
lg.page.open('contacts'); // I'd like someting like that...
}
</script>
</head>
<body id="stage">
<div class="page" type="html" id="home" url="home.html" title="LiquidGear" desc="Welcome to LG" navigation="true" selected="true"></div>
<div class="page" type="html" id="info" url="info.html" title="Info" desc="Device information" callback="setInfo" navigation="true"></div>
</body>
</html>