Posted April 12th 2013, 12:07 am
Forum Version: All versions!
Demo: Click Me!
1. Put this in your Homepage Message (ACP > Display > Homepage > Generalities)
- Code:
<link rel="stylesheet" href="http://static.tumblr.com/hhedat8/8cbmksz3o/nivo-slider.css" type="text/css" media="screen" />
<link rel="stylesheet" href="http://static.tumblr.com/hhedat8/NnQmksygd/bar.css" type="text/css" media="screen" />
<link rel="stylesheet" href="http://static.tumblr.com/hhedat8/J4Bmksyye/default.css" type="text/css" media="screen" />
<center> <div id="wrapper"><div class="slider-wrapper theme-default"><div id="slider" class="nivoSlider">
<img src="http://648290826.r.cdn77.net/wp-content/uploads/2013/02/slider1.jpg" title="This displays the caption 1" alt=""/>
<img src="http://648290826.r.cdn77.net/wp-content/uploads/2013/02/slider4.jpg" alt="" />
<img src="http://648290826.r.cdn77.net/wp-content/uploads/2013/02/slider2.jpg" title="This displays the caption 2" />
<img src="http://648290826.r.cdn77.net/wp-content/uploads/2013/02/slider3.jpg" />
</div>
</div>
</div>
</center>
<script src="http://static.tumblr.com/hhedat8/NqOmksx73/jquery.nivo.slider.js" type="text/javascript"></script>
<script type="text/javascript">
jQuery(window).load(function() {
jQuery('#slider').nivoSlider();
});
</script>
2. Now all you need to do is to change the image. Just replace the picture image inside the image 'src' and it should work. If you want to change the caption, just change the text inside the 'title'. Or if you want to add caption on other image, just add this on the image tag.
- Code:
title="This displays the caption"
Enjoy! :):
Last edited by Mark on May 31st 2013, 4:37 pm; edited 4 times in total