You are here:
Foswiki
>
System Web
>
Macros
>
VarJQREQUIRE
(18 Jun 2015,
ProjectContributor
)
(raw view)
E
dit
A
ttach
---+ JQREQUIRE -- enable a plugin on the current page This macro will load a list of plugins to be added to the current page. Use [[VarJQPLUGINS][JQPLUGINS]] to display the list of available and active plugins. While loading a plugin, additional plugins it may depend on are loaded as well. Information about these dependencies is stored within the plugins themselves and can't be changed. Dependencies also make sure the javascript code is added to the html page in the right order. It uses [[VarADDTOZONE][ADDTOZONE]] to aggregate javascript and css at the right place on the html page. <div class="foswikiHelp">%H% in case of an error JQREQUIRE will produce an inline HTML error message. </div> ---++ Parameters %TABLE{sort="off"}% | *Parameter* | *Description* | *Default* | | ="plugin,plugin,plugin"= | comma-separated list of plugins to be loaded | | | =warn= | (on/off) allows you to switch off warnings when a plugin was not found | =on= | ---++ Examples * =%<nop>JQREQUIRE{"easing,sliding,falling"}%= %STOPINCLUDE% ---++ Related JQueryPlugin, [[VarJQPLUGINS][JQPLUGINS]], [[VarADDTOZONE][ADDTOZONE]]
E
dit
|
A
ttach
|
P
rint version
|
H
istory
: r1
|
B
acklinks
|
V
iew topic
|
Edit
w
iki text
|
M
ore topic actions
Topic revision: r1 - 18 Jun 2015,
ProjectContributor
System
Log In
or
Register
Toolbox
Users
Groups
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
User Reference
BeginnersStartHere
TextFormattingRules
Macros
FormattedSearch
QuerySearch
DocumentGraphics
SkinBrowser
InstalledPlugins
Admin Maintenance
Reference Manual
AdminToolsCategory
InterWikis
ManagingWebs
SiteTools
DefaultPreferences
WebPreferences
Categories
Admin Documentation
Admin Tools
Developer Doc
User Documentation
User Tools
Webs
GEO_CitSci
GEO_SIF
GEO_Spain
Main
Sandbox
System
Copyright © by the contributing authors. All material on this site is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki?
Send feedback