Differences

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

english:technics:internal-function-call [2010/06/24 08:21]
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.
Line 150: Line 169:
\\ \\
-=== check current JS Lib ===+=== check instantly appointed JS Lib === 
 + 
 +templates -> JS Library: [Var: PHPWCMS_JSLIB]
-In var: PHPWCMS_JSLIB 
<code php> <code php>
Line 162: Line 182:
-\\+~~UP~~
===== Init Lightbox ===== ===== Init Lightbox =====
Line 210: Line 230:
-\\+~~UP~~
===== Init SwfObject JS Library ===== ===== Init SwfObject JS Library =====
Line 238: Line 258:
</code> </code>
-\\+~~UP~~
Line 319: Line 339:
-\\+~~UP~~
\\ \\
Line 353: Line 373:
-\\+~~UP~~
===== Subsequent exchange of a CSS file, which is registered in the Template  ===== ===== Subsequent exchange of a CSS file, which is registered in the Template  =====
english/technics/internal-function-call.1277360488.txt.gz · Last modified: 2018/06/03 18:07 (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