Many times when you are working in a magento template you will need to add you own css or js files here how to do it:
Many times when you are working in a magento template you will need to add you own css or js files here how to do it:
Open up the CMS page in Magento that you want to add the javascript to, click on the “Custom Design” tab on the left, and in the “Layout Update XML” field add the following:
<reference name="head"> <action method="addItem"> <type>skin_js</type><name>js/yourfile.js</name> </action> </reference>
easy pice of cake.