Was this page helpful?

jQuery UI

    Note: This is not the jQuery library. Every MindTouch install has jQuery already.
    This is an additional library which you can read more about at http://www.jqueryui.com
    
    Vendor
    MindTouch
    Type Script
    Categories Misc
    Requires MindTouch Core 10.0 or later
    Status Stable
    License Free/Open Source
    Manifest http://scripts.mindtouch.com/jquery2.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

    Description

    Include jQuery plug-ins.

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


    Functions

    jquery.all() : xml

    Add all jQuery extensions.


    jquery.form() : xml

    Add jQuery form extension.


    jquery.ui(theme : str) : xml

    Add jQuery UI extension.

    Parameters:

    NameTypeDescription
    themestr(optional) jQuery UI theme. (default: none)


    Script Source

    <extension>
      <title>jQuery Extension</title>
      <label>jQuery</label>
      <copyright>Copyright (c) 2006-2010 MindTouch Inc.</copyright>
      <description>Include jQuery plug-ins.</description>
      <uri.help>http://developer.mindtouch.com/App_Catalog/jQuery</uri.help>
      <namespace>jquery</namespace>
    
      <requires host="MindTouch Core 10.0" />
    
      <function>
        <name>all</name>
        <description>Add all jQuery extensions.</description>
        <return>
          <html xmlns:eval="http://mindtouch.com/2007/dekiscript">
            <head>
              <script type="text/javascript" src="self:res/jquery2/jquery-ui.js" />
              <script type="text/javascript" src="self:res/jquery2/jquery.form.js" />
            </head>
          </html>
        </return>
      </function>
    
      <function>
        <name>ui</name>
        <description>Add jQuery UI extension.</description>
        <param name="theme" type="str" optional="true">jQuery UI theme. (default: none)</param>
        <return>
          <html xmlns:eval="http://mindtouch.com/2007/dekiscript">
            <head>
              <script type="text/javascript" src="self:res/jquery2/jquery-ui.js" />
              <eval:if test="$theme">
                <link rel="stylesheet" eval:href="'self:res/jquery2/themes/' .. $theme .. '/ui.all.css'" type="text/css" media="screen" />
              </eval:if>
            </head>
          </html>
        </return>
      </function>
    
      <function>
        <name>form</name>
        <description>Add jQuery form extension.</description>
        <return>
          <html xmlns:eval="http://mindtouch.com/2007/dekiscript">
            <head>
              <script type="text/javascript" src="self:res/jquery2/jquery.form.js" />
            </head>
          </html>
        </return>
      </function>
    </extension>
    

    Was this page helpful?
    Tag page
    Viewing 1 of 1 comments: view all
    We are running a private intranet site, there is not public access to our site. What is the manual installation procedure for this?
    Posted 14:46, 21 Apr 2011
    Viewing 1 of 1 comments: view all
    You must login to post a comment.

    Copyright © 2011 MindTouch, Inc. Powered by