Differences

This shows you the differences between two versions of the page.

english:technics:internal-function-call [2010/06/25 10:45]
Knut Heermann (flip-flop)
english:technics:internal-function-call [2018/06/03 18:09] (current)
Line 137: Line 137:
**initJSPlugin('SimpleTabs');** the right JS framework calls. **initJSPlugin('SimpleTabs');** the right JS framework calls.
 +
 +Alternatively, in a template:
 +<code php>
 +[PHp]initJSPlugin('SimpleTabs');[/PHP]
 +</code>
 +or
 +<code php>
 +<!-- JS: SimpleTabs -->
 +<!-- JS: http://digitarald.de/project/simple-tabs/1-0/source/SimpleTabs.js -->
 +</code>
 +
 +
 +<note important>
 +Since version r410 the call of external scripts like \\ ##%%<!-- JS: http://XYZ.js -->%%## for security is no longer possible. \\
 +
 +\\
 +Alternatively, this method can be selected:\\ ##%%[PHP]$GLOBALS['block']['custom_htmlhead']['XYZ'] = getJavaScriptSourceLink(html_specialchars('http://XYZ.js'));[/PHP] %%##
 +
 +</note>
  * **External scripts** are now started from the appropriate plugin directory.   * **External scripts** are now started from the appropriate plugin directory.
english/technics/internal-function-call.1277455514.txt.gz · Last modified: 2018/06/03 18:08 (external edit)
www.planmatrix.de www.chimeric.de Creative Commons License Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0