Add MooTools Featured Content Slider to blogger

Add MooTools Featured Content Slider to blogger


How To Add MooTools Featured Content Slider to blogger


How to Install This Widget on Blogger?

Steps...

A. Adding Script Code

B. Adding HTML Code


Adding Script Code


In old layout: Go to Dashboard - Design - Edit HTML - Expand Widget Templates.

In new layout: Go to Dashboard - Template - Edit Template HTML - Expand Widget Templates.


Now find (CTRL+F) this code in the template:

Step 2:And find the code </head>
Step 3: Now add the following code just before the </head> tag.


<a href="http://24work.blogspot.com" target="_blank" title="Blogger Widgets"><img src="http://safir85.ucoz.com/24work-blogspot/cursor-24work-10.png" border="0" alt="Blogger Widgets" style="position:absolute; top: 0px; right: 0px;" /></a><script src='http://safir85.ucoz.com/24work-blogspot/featured-post-s/mootools-slider.svn.js' type='text/javascript'/>

&lt;script type=&quot;text/javascript&quot;&gt;
window.addEvent(&#39;domready&#39;, function(){
var totIncrement = 0;
var increment = 212;
var maxRightIncrement = increment*(-6);
var fx = new Fx.Style(&#39;slider-list&#39;, &#39;margin-left&#39;, {
duration: 1000,
transition: Fx.Transitions.Back.easeInOut,
wait: true
});

//-------------------------------------
// EVENTS for the button &quot;previous&quot;
$(&#39;previous&#39;).addEvents({
&#39;click&#39; : function(event){
if(totIncrement&lt;0){
totIncrement = totIncrement+increment;
fx.stop()
fx.start(totIncrement);
}
}
});

//-------------------------------------
// EVENTS for the button &quot;next&quot;
$(&#39;next&#39;).addEvents({
&#39;click&#39; : function(event){
if(totIncrement&gt;maxRightIncrement){
totIncrement = totIncrement-increment;
fx.stop()
fx.start(totIncrement);
}
}
})


});
&lt;/script&gt;


<style type='text/css'>
#slider-stage{width:100%; overflow:auto; overflow-x:hidden; overflow-y:hidden; height:200px; margin:0 auto; border:2px solid #000000; background-color:#000000; }
#slider-buttons{float:left; width:100%; margin:0 auto; border:2px solid #000000; color:#ffffff; font-weight:bold; background-color:#000000;filter:alpha(opacity=60);opacity:0.6;}
#slider-list{width:4500px; border:0; margin:0; padding:0; left:400px;}
#slider-list li{
list-style:none;
margin:0;
padding:0;
border:0;
margin-right:4px;
padding:4px;
background:#DEDEDE;
float:left;
width:200px;
height:200px;
}
</style>



And now click Save Template 

Important !!! : Download mootools.svn.js as a zip file and hostmootools.svn.js yourself.

You can change height,width,color,... if you like.


Adding HTML Code

So, let's see how to install this cool widget in your blog..

1. Sign into Blogger dashboard

old Blogger interface: Go to Dashboard - Design - Page Elements - Add a Gadget.If you're using the new Blogger interface: Go to Dashboard - Layout - Add a Gadget.Select 'HTML/Javascript' and add the one of code given below.Just copy and paste this code..


<div id="slider-stage">

<ul id="slider-list">

<li id="l1"><a href="#" title="#"><img alt="#" width="200" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgJDbLci0qH6I_oSmvi38JVXq2lP1fHe2Bfp9_27OGxKncC5ffF99zsM0S1kSxuSBL0lHIl3sp4uSWlAaYczfyDWxnbBe3wF58t3ZBlMAPknujoiema6y9XkoO4TqYdHlFgnU8NBtGFPDgr/" height="200"/></a></li>

<li id="l2"><a href="#" title="#"><img alt="#" width="200" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiQp-5pGg5PAZGHvBdn4AFSan-r27JsY7WpEiiH6J40C8FOe9NCoV315xQOed8gDcgy7aOSnJY2rj8UhIQBQQQwE3vY2gCthJ-_5CxW3BFCzhAbVE47-HousgET2A7Hz8EQfAMOHYjfprbI/" height="200"/></a></li>

<li id="l3"><a href="#" title="#"><img alt="#" width="200" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg8oKnkCm-8f5o_2o6mMN1JwjUitU9416epP07MVGmq6djeaAn4eFbZjhLa0WrO01BRethNtxb8o89fWBPejWKZ7tATYrlhOpsCUQEVlrKZsRS1V_SlvTP1-RAtJEkKqZDYItp6JAdDxLMp/" height="200"/></a></li>

<li id="l4"><a href="#" title="#"><img alt="#" width="200" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhWI9yBf764GOu5iXtGiAOfxTgVk5GfzpwvsocKgPtdU2Xxalx9wLTojZAhOgLRYDNd6glhUH02l8RWABGQrPxBK5y8oBCwfTRQCrZGhBB3sDsvuu-PTpe977zEa_R10ZFniZxTCQ8Wljdx/" height="200"/></a></li>

<li id="l5"><a href="#" title="#"><img alt="#" width="200" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiOOQp2UxEvCi_Ik1HqF0n2fEjGW7dO8bJU2bfZErVWJPzPzeY5NdXKEpM95n3xVdxZl621hLkZfPlKW8xkEBR4T0nhf1_jSsjDvNsIxdcBk_x2Xg5SFkFTRX_PuIuQC4DAhBvCVvVwhaJY/" height="200"/></a></li>

<li id="l6"><a href="#" title="#"><img alt="#" width="200" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgaFd3yi_YwrC3JhKoRmNFfEZ__cx-6T0jOHnlLIHXYB_tU5nqtQgAMmaq9noxaAgDWOdD2xBN_IGPVsTtS4o_aVqmxwh3GWeOQVK3ctUUfKYclHgPirmzEfLDAXJLetfQB1wrkJaZOWzyE/" height="200"/></a></li>

<li id="l7"><a href="#" title="#"><img alt="#" width="200" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjz0Wsd-o4d62gY3cJoeEuO3jkSZWjK96M1Cq1WDVuLOwa5jhHiZBR2FCYjmgjsF0kOZtUnAU5V4Qeen-tP5oDoYmMCFYmbjnnKwIhgF_9t_l5c_OsGum2lT74wdRQrEy0WpJg6ob5dXyym/" height="200"/></a></li>

<li id="l8"><a href="#" title="#"><img alt="#" width="200" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhaWwK6DcJ0kBzq_CnVtrdzTQUSM4XFzU4xfSkJ3Z1tZ_D68VqqQaBlgYrt1_uXJpZ3ujnRiDmW3OB5qqpXgxppgW_0PCWKpN5ySBpeaM-5tdKkk_i5MdfaLSCND2hf4Phr-Tnj6XyOtb_t/" height="200"/></a></li>

<li id="l9"><a href="#" title="#"><img alt="#" width="200" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgZEjMtGFs9DTWNLj9qhFwC8iyO5YDJyxFKywiEWmLb_DmWKs7ORckGXyXBw-xVliiDgP6W3kmdahYZtIf4VVhwntUePZZaVqUY8wfDUdEcA9RV-yK6Krne0ZJpW2GqfYI7mjbmIhXZOOUp/" height="200"/></a></li>

<li id="l10"><a href="#" title="#"><img alt="#" width="200" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjgP_UqEPw7nj0MdK-5AC4OiD9UKpEOW-c_IqTKxL8t0V3-zYDzB9wvJECBNxULrqjonQjJQ08NesOnMQXnh_hF6xCYCs-wT6p_KBUOSGrrCpcoYp8hklP7EtHIklBvJtjk6lCkIAqMOPaL/" height="200"/></a></li>

</ul>

</div>

<div id="slider-buttons">
<a id="previous" href="#">Previous</a> | <a id="next" href="#">Next</a>
</div>


And now click Save 


We have great collection of Best tricks and tutorials, Bloggingtrainings.blogpsot.com is a Blog Providing with Blogger widgets, help, blogger tips, blogger tricks, hacks, Blogger Gadgets,Plugins and Blogger resources with great skills and templates.practical SEO Tips and all things Blogging,is about Blog tricks & tips, Traffic generation, Backlinks, Search engine optimization, Web designing, E money, Social media, Facebook tricks,Blogging Discussion, Tips & Tricks,logging tips, tricks, how-tos, news, tools and resources, bloggingtrainings.blogspot presented in easy to understand tutorials.Keep visiting us if any links is not working or you want sme more help, then keep looging at bloggingtrainings.blogspot.com.or contact us 0323-7591466.



0 Komentar untuk "Add MooTools Featured Content Slider to blogger"

Back To Top