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
Table of Contents
Include jQuery plug-ins.
See also How to add a script, Using the Extension Dialog, Learn about DekiScript, Extensions Directory.
Add all jQuery extensions.
Add jQuery form extension.
Add jQuery UI extension.
Parameters:
| Name | Type | Description |
| theme | str | (optional) jQuery UI theme. (default: none) |
<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>
| Images 0 | ||
|---|---|---|
| No images to display in the gallery. |
Copyright © 2011 MindTouch, Inc. Powered by