Custom Javascript/CSS file includes
Custom Javascript/CSS file includes
Is there a way to include custom javascript (in addition to frontend.js) and/or CSS (in addition to frontend.css). I'd like to have a different .js file for each category when needed.
Re: Custom Javascript/CSS file includes
Hey, yes, in the NEWER Versions from the google code branch:
from Oliver:
from Oliver:
Code: Select all
/* Load my special Mootools script */
$block['custom_htmlhead']['mootools.js'] = ' ';
/* Load Mootools in newer releases */
initMootools();
/* Load My custom JavaScript */
$block['custom_htmlhead']['my.js'] = ' ';
/* Load some other positions */
$block['custom_htmlhead']['favicon1'] = ' ';
$block['custom_htmlhead']['favicon2'] = ' ';
/* IE <=6 Style Hack */
$block['custom_htmlhead']['IEhack'] = ' ';
/* Hm I want to overwrite some default CSS */
$block['custom_htmlhead']['mycss'] = ' ';
- Oliver Georgi
- Site Admin
- Posts: 9906
- Joined: Fri 3. Oct 2003, 22:22
- Contact:
Re: Custom Javascript/CSS file includes
An answer which has a closer relation to the question can be found here:
[x]
[x]