Add this html to your post, notice how image title and the ID of the div are matched
Now add this to footer scripts option in general settingsCode:<div id="custom-slider"> <a href="http://localhost/WpDev/?p=1133" title="Testing AdSense loading"> <img src="http://localhost/WpDev/wp-content/themes/SwiftPremium/images/default.png" class="slide-thubnail" width="936" height="577" title="#post_1133"/></a> <a href="http://localhost/WpDev/?p=1118" title="Ok image test"> <img src="http://localhost/WpDev/wp-content/themes/SwiftPremium/images/default.png" class="slide-thubnail" width="936" height="577" title="#post_1118"/></a> </div> <div id="post_1133" class="nivo-html-caption"> <h2>Testing AdSense loading</h2> <p>jQuery(‘#fuck’).load(‘http://localhost/WpDev/wp-content/uploads/2011/09/6181315141_0b9419e3a4_b-48×48.jpg #content’);</p> </div> <div id="post_1118" class="nivo-html-caption"> <h2>Ok image test</h2> <p>Ok caption</p> </div>
Code:<script type="text/javascript"> jQuery(window).load(function() { jQuery('#custom-slider').nivoSlider({prevText: '', nextText: '', controlNav:false, effect:'fade', animSpeed:600, pauseTime:5000 }); }); </script>




Reply With Quote

Bookmarks