User Rating: 5 / 5

Star ActiveStar ActiveStar ActiveStar ActiveStar Active
 

{AddScriptInlineCode striphtml="true|false"} Your Java-Script-Code {/AddScriptInlineCode}

If you want to add Java-Script-Code, you can write your code between the tag AddInlineScript.

params: striphtml true or false default is: true

if you have the source and want to insert it (without filtering) use striphtml="false" for a correct output.

How to use it:

{AddScriptInlineCode}
(function ($) {
$( document ).ready(function() {
window.setTimeout(function() { alert('test'); }, 10000);
});
})(jQuery);
{/AddScriptInlineCode}

This will add the Java-Script-Code at the current position of the HTML-Page.

See also: AddScript AddScriptFile



Available for: