Nivo slider is one of the easiest to install and good looking.
To get it working on Magento you need to know a couple of tricks.
In the post i will explain how to get nivo slider working on Magento.
1. Copy the following files into your Magento folder:
Jquery.nivo.slider.pack.js -> magento folder/js/nivo/ jquery-1.6.1.min.js -> magento folder/js/nivo/ all css and buttons to -> magento folder/skin/frontend/default/<your theme>/css/nivo/
2. Open the following file: magento folder/app/design/frontend/default/<your theme>/layout/page.xml.
Add the following code in the head block element:
<action method="addJs"><script>nivo/jquery-1.6.1.min.js</script></action> <action method="addJs"><script>nivo/jquery.nivo.slider.pack.js</script></action> <action method="addCss"><stylesheet>css/nivo/nivo-slider.css</stylesheet></action> <action method="addCss"><stylesheet>css/nivo/default.css</stylesheet></action>
Make sure it is BEFORE:
<action method="addJs"><script>prototype/prototype.js</script></action>
3. Open your admin panel and navigate to: CMS -> Pages
4. Select the page that needs the nivo slider.
5. Go to the content tab and add the following code:
<div class="slider-wrapper theme-default">
<div id="slider" class="nivoSlider"><img src="skin/frontend/default/<your theme>/images/mainbanner-1.jpg" alt="" />
<a href="http://www.website.com"><img src="skin/frontend/default/<your theme>/images/mainbanner-2.jpg" alt="" /></a>
<a href="http://www.website.com"><img src="skin/frontend/default/<your theme>/images/mainbanner-3.jpg" alt="" /></a>
<a href="http://www.website.com"><img src="skin/frontend/default/<your theme>/images/mainbanner-4.jpg" alt="" /></a>
</div>
</div>
<script type="text/javascript">// <![CDATA[
jQuery(window).load(function() {
jQuery('#slider').nivoSlider({effect:'slideInRight'});
});
// ]]></script>
If you are working with the Nivo example code make sure you change the $ in the javascript to jQuery!
6. Save your page…..
7. And we are done!


