Adding scripts and styles to the site can be done through the $factory class.

Javascript

The following are examples of adding javascript files.

$factory->register_script("reactor", "theme/" . SITE_THEME . "/scripts/reactor.js",true);
$factory->register_script("reactor-ajax", "theme/" . SITE_THEME . "/scripts/ajax.js",true);
$factory->register_script("reactor-upload", "theme/" . SITE_THEME . "/scripts/upload.chunked.js",true);
$factory->register_script("reactor-editor", "theme/" . SITE_THEME . "/scripts/editor.js",true);

Cascading Stylesheets

The following are examples of adding CSS files.

$factory->register_style("reactor-widescreen", "theme/" . SITE_THEME . "/styles/sizes/reactor.widescreen.css", true);
$factory->register_style("reactor-mobile", "theme/" . SITE_THEME . "/styles/sizes/reactor.mobile.css", true);
I like to see who's visiting my website, do you accept?
Do you want to accept tracking cookies?