facebook

multi level list items with multi level xml

  1. MobiOne Archive
  2.  > 
  3. Getting Help – General
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #342030 Reply

    fayyazahmada
    Participant

    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.
    #349547 Reply

    fayyazahmada
    Participant

    any 1

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: multi level list items with multi level xml

You must be logged in to post in the forum log in