Extension:AddScriptCss

What can this extension do?
Inserts & (i.e. CSS) tags at the bottom of the page's heador within the page's body whilst still preserving the virtues of parser caching.

Example 1
 Results in /home/scripts/sarissa/sarissa.js being added to the page's body section provided the said file exists.

Example 2
The CSS file /home/scripts/styleinfo.css will be added to the page's HEAD section (provided it exists).

Usage

 * Form 1: 
 * Form 2:


 * If no 'type' field is present, then the extension assumes 'js'.
 * If no 'pos' field is present, then the extension assumes 'body'

Changes to LocalSettings.php
require_once("$IP/extensions/ExtensionClass.php"); require_once("$IP/extensions/AddScriptCss.php");

Depedancy
Extension:ExtensionClass