i am creating a mob app using mobi 2.5 – Milestone 1 , i have created all 5 pages using MultiPage widget, working fine while loading all the data from xml.
first level page loaded within the MultiPage let say clicked on page2 i.e. Galleries this function is
———————————–
function load_galleries(active_page){
var list_items = new Array();
phoneui.showActivityDialog(“Loading Galleries…”);
$.get(“cat_Gallries.xml”, function(data) {
var $xml = $(data);
$xml.find(“entry”).each(function() {
var $this = $(this),
item = {
title: $this.find(“title”).text(),
description: $this.find(“description”).text(),
image: $this.find(“image”).text(),
content: $this.find(“content”).text()
}
list_items.push(item);
});
$(“:root”).data(“cat_gallries” , list_items);
render_list(active_page, list_items);
phoneui.hideActivityDialog();
});
}
—————————————
this script is from http://www.genuitec.com/support-genuitec/viewtopic.php?f=14&t=5212
but i don’t NO how to create new list at new screen while clicking no first list item.
Attachments:
You must be
logged in to view attached files.