OpenWGA 7.10 - WebTML reference

WebTML tags » htmlhead

<tml:htmlhead scripts ="true | false">

Purpose:

Controls if the htmlhead.js javascript will be included or not.

Description:

The JavaScript htmlhead.js is nessesarry for OpenWGA websites to work. Therefore the default is to include this script.

You may however specify scripts="false" and include the scripts yourself f. e. as part of your own JS include. Ensure your script (containing the htmlhead.js) is included BEFORE <tml:htmlhead> in this case.

Default value:

true

Examples:

<script type="text/javascript" src="<tml:url type="js" name="app.js""></script>

<tml:htmlhead scripts="false"/>

App.jsmin:

//@import type=static js/htmlhead.js

// my own js scripts ...