Popup extension

    Table of contents
    1. 1. Functions
    2. 2. Script Source
    3. 3. Samples

    Vendor
    Anonymous
    Type (missing)
    Categories (none)
    Requires MindTouch Core 1.8.3 or later
    Status Work-in-progress
    License Free/Open Source
    Manifest http://wiki.developer.mindtouch.com/@api/deki/files/3100/=popup.xml

     

    Install Script
    To add  this script to your site, enter the address of your MindTouch installation (ex: http://www.mindtouch.com) and click the Add Script button.  This will open your control panel and prepopulate the necessary values.  You will still need to manually add configuration settings if required.  Note that no changes are made to your site until you confirm the action in your control panel.
    Your site address:     


    Table of Contents

    See also How to add a script, Using the Extension Dialog, Learn about DekiScript, Extensions Directory.


    Functions

    Script Source

    
            

    Samples

    To pop up a simple list:

    {{ popup.list("This is a list:", ["1", "2", "three"], "click to pop!", 200,200) }}
    
    

      

    To pop up a list of first 20 users on this wiki:

    {{ popup.list("Users:", web.list(uri.build(site.api,"users",{ limit:20 })), "show users!", 200, 500) }}
    

      

    To show the list of functions in this extension:

    {{ popup.list("Functions in 'Popup' extension:", web.list("http://wiki.developer.mindtouch.com/@api/deki/files/3100/=popup.xml","/extension/function/name"), "show functions!", 100, 300) }}
    Tag page

    Files 1

    FileVersionSizeModified 
    You must login to post a comment.

    Copyright © 2011 MindTouch, Inc. Powered by