1 of 1 found this page helpful

Web.Toggle

    web.Toggle(content: xml, title: string, heading: int?, speed: string, hidden: bool?) : xml

    Will create a section containing the content that can be hidden/unhidden by clicking on the title.

    Usage Restrictions

    9.02 or later.

    Parameters

    Name Type Description
    content xml source content that will be displayed/hidden
    title string the title of the section that will be displayed/hidden
    heading int (optional, default: 1) format of the title
    speed string  
    hidden bool? (optional, default: true) should the section start hidden

    Result

    The result of this extension is a title section on the page that contains a subsection with the inputted content. This subsection can then be hidden and unhidden by clicking no the title.

    Samples

       Output

    SAMPLE1:

    {{ web.toggle(wiki.page(page.path)) }} 

    Show

    Was this page helpful?
    Tag page
    You must login to post a comment.

    Copyright © 2011 MindTouch, Inc. Powered by