Table of contents
    1. 1. web links
    2. 2. FAQ script
      1. 2.1. nog een
    3. 3. Template
    4. 4. Subpages

     

    Link to page with argument

    FAQ script

    add a contact
    agenda ticket form
    Arguments
    arguments to templates
    Blog for {{ site.name }}
    Button test
    Contacts
    css play
    dated comments
    embed html
    embed tests
    Get user properties
    hide page elements
    links in Graphviz
    many deki tests
    my friends activities
    Popup
    Retrieve users and groups
    simple form
    Slideshow
    sort subpages on property
    table play
    talk pagina
    template by property
    test dynamic TOC
    test wiki tree

    nog een

    - dit gaat niet want het is geen list maar een map

    [ "Thu, 16 Apr 2009 07:51:18 GMT", "Thu, 16 Apr 2009 07:53:46 GMT", "Thu, 25 Jun 2009 22:34:28 GMT", "Thu, 25 Jun 2009 22:35:19 GMT", "Thu, 25 Jun 2009 22:36:04 GMT", "Thu, 25 Jun 2009 22:37:01 GMT", "Thu, 25 Jun 2009 22:49:35 GMT", "Thu, 25 Jun 2009 22:51:26 GMT", "Thu, 25 Jun 2009 22:51:45 GMT", "Thu, 25 Jun 2009 22:57:00 GMT", "Thu, 25 Jun 2009 22:59:48 GMT", "Thu, 25 Jun 2009 23:00:13 GMT", "Thu, 25 Jun 2009 23:00:53 GMT", "Thu, 25 Jun 2009 23:02:01 GMT", "Thu, 25 Jun 2009 23:09:04 GMT", "Thu, 25 Jun 2009 23:28:19 GMT", "Fri, 26 Jun 2009 11:16:19 GMT", "Fri, 26 Jun 2009 11:17:31 GMT", "Fri, 26 Jun 2009 11:18:49 GMT", "Fri, 26 Jun 2009 11:19:56 GMT", "Wed, 15 Jul 2009 00:30:07 GMT", "Sat, 25 Jul 2009 21:17:35 GMT", "Sat, 25 Jul 2009 21:18:53 GMT", "Sat, 25 Jul 2009 21:19:16 GMT", "Sat, 25 Jul 2009 21:19:46 GMT", "Sat, 25 Jul 2009 21:20:29 GMT", "Sat, 25 Jul 2009 21:33:56 GMT", "Tue, 08 Dec 2009 22:32:29 GMT", "Tue, 08 Dec 2009 22:41:13 GMT", "Tue, 08 Dec 2009 22:43:11 GMT" ]

    Subpages

    var pagelist = list.sort(map.values(page.subpages), "title");
    <ul>
        foreach (var p in pagelist)
            <li> p.title;
                collapseItem(<ul> xml.html(p.toc,".//ul") </ul>, _,_, "slide");
            </li>;
    </ul>;

     

     

    var pagelist = list.sort(map.values(page.subpages), "title");
    <ul>
        foreach (var p in pagelist)
            <li>;
               web.link(p.uri,p.name);
               <ul> xml.html(p.toc,".//ul") </ul>;
            </li>;
    </ul>;
    

     

     

    Tag page
    You must login to post a comment.

    Copyright © 2011 MindTouch, Inc. Powered by