[eluser]CroNiX[/eluser]
You can pass variables to your header like any other view. Those variables can be css files, js files or whatever else.
controller
Code:
$assets['css'] = array(
'http://somesite.com/css/mycss.css',
'http://someothersite.com/css/theircss.css'
);
$this->load->view('header', $assets);
Then in the <HEAD> of your header view,
Code:
if (count($css))
{
echo '<style type="text/css">';
foreach($css as $c)
{
echo '@import url("' . $c . '");';
}
echo '</style'>;
}
Same with javascript...etc.