Latest Movie :

Free Image and Text Slider For your blog

Hi dear visitors I will tell how to  make professional Marquee Slider like jQuery. In this Widget, I used simple JavaScript as well as Marquee tag to implement this. You have seen this widget in Many blog or website to show their clients at the bottom of page. Now this time you can also develop your own Slider with simple Steps. Here I am showing you three different format of this slider. One for Text just like a Floating News Widget and other for Image with Pause, Start and Stop buttons. Keep looking bloggingtrainings.blogspot.com So Lets starts with this tutorial.



How to Make this Slider.

Here I am explaining step by steps to add this widget in your blog. For any type of slider you have to include this JavaScript File in your blog before </head> tag.

<script type="text/javascript" src="http://probloggingtools.googlecode.com/files/marquee_slider.js"></script>

Type 1 Slider [Text]


 This is a leading website about blogging tools, tips , Widget and template Customization. I hope you are happy with blog posts and tutorials.
 This is a leading website about blogging tools, tips , Widget and template Customization. I hope you are happy with blog posts and tutorials.


Code of This Text Slider
<div class="slider_text" id="marquee0">
This is a leading website about blogging tools, tips , Widget and template Customization. I hope you are happy with blog posts and tutorials.
</div>
<script type="text/javascript">
marqueeInit({
 uniqueid: 'marquee0',
 style: { //style object for this marquee container (use quotes on both sides of the : as shown)
    'width': '100%',
    'height': '1.6em',
    'color': '#fff',
    'background-color': '#32f',
    'font-family': 'sans-serif',
    'margin': '0 auto'},
      inc:1, //speed - of marquee slider.
 });
</script>
I this text slider, whenever user hover the text, it pause the slider.


Type 2 Image Slider [onMouse Pause]




Code of this Image Slider
<div class="marquee_slider" id="marquee1">
<a href="" target="_blank"> <img src="http://3.bp.blogspot.com/-wGZ4VwJBDjE/T-QngD5utII/AAAAAAAABZ8/eqn-Xt8N6-0/s1600/CMCltdlogo.gif" /> </a>
<a href="" target="_blank"> <img src="http://1.bp.blogspot.com/-5joZNlvD9no/T-QnhaeB-eI/AAAAAAAABaE/X2GSOvFMJAA/s1600/YesBanklogo.gif" /> </a>
<a href="" target="_blank"> <img src="http://4.bp.blogspot.com/-eIclnTRzGKs/T-Qnj5123NI/AAAAAAAABaM/rRCAw7sAZ-o/s1600/accenturelogo.gif" /> </a>
<a href="" target="_blank"> <img src="http://1.bp.blogspot.com/-u6PVaoDf9Oc/T-QnlXFJdkI/AAAAAAAABaU/ZccCBHyWFB8/s1600/aonhewittlogo.gif" /> </a>
<a href="" target="_blank"> <img src="http://3.bp.blogspot.com/-OkteiFYb4QI/T-Qnm7cx4GI/AAAAAAAABac/XiKUtmaVsOs/s1600/birlasoftlogo.gif" /> </a>
<a href="" target="_blank"> <img src="http://2.bp.blogspot.com/-__KEjS96cKQ/T-QnoD-COkI/AAAAAAAABak/TApElCVZQZU/s1600/cognizantlogo.gif" /> </a>
<a href="" target="_blank"> <img src="http://4.bp.blogspot.com/-Jx7VCmkr7RQ/T-QnpmKo6HI/AAAAAAAABas/kFMRVFUfeKU/s1600/hcl_partner_logo.gif" /> </a>
<a href="" target="_blank"> <img src="http://4.bp.blogspot.com/-Q7HzLyIJpLk/T-QnrJPWMYI/AAAAAAAABa0/EhOLDofkUxM/s1600/mphasislogo.gif" /> </a>
<a href="" target="_blank"> <img src="http://4.bp.blogspot.com/-XwXRWJ82ySc/T-QnsWj-YuI/AAAAAAAABa8/M5TACpbpHtI/s1600/punjlloydlogo.gif" /> </a>
</div>
<script type="text/javascript">
marqueeInit({
 uniqueid: 'marquee1',
 style: { //style object for this marquee container (use quotes on both sides of the : as shown)
    'width': '400px',
    'height': '100px',
    'color': '#fff',
    'background-color': '#4dd469',
    'font-family': 'sans-serif',
    'margin': '5px auto'},
 inc:1, //speed - of the Marquee Slider
 });
</script>
 Change the Image links with yours. It is same as Text slider.

Type 2 Image Slider [Advanced]





Code of this Slider
<div class="marquee_slider" id="marquee2">
<a href="" target="_blank"> <img src="http://3.bp.blogspot.com/-wGZ4VwJBDjE/T-QngD5utII/AAAAAAAABZ8/eqn-Xt8N6-0/s1600/CMCltdlogo.gif" /> </a>
<a href="" target="_blank"> <img src="http://1.bp.blogspot.com/-5joZNlvD9no/T-QnhaeB-eI/AAAAAAAABaE/X2GSOvFMJAA/s1600/YesBanklogo.gif" /> </a>
<a href="" target="_blank"> <img src="http://4.bp.blogspot.com/-eIclnTRzGKs/T-Qnj5123NI/AAAAAAAABaM/rRCAw7sAZ-o/s1600/accenturelogo.gif" /> </a>
<a href="" target="_blank"> <img src="http://1.bp.blogspot.com/-u6PVaoDf9Oc/T-QnlXFJdkI/AAAAAAAABaU/ZccCBHyWFB8/s1600/aonhewittlogo.gif" /> </a>
<a href="" target="_blank"> <img src="http://3.bp.blogspot.com/-OkteiFYb4QI/T-Qnm7cx4GI/AAAAAAAABac/XiKUtmaVsOs/s1600/birlasoftlogo.gif" /> </a>
<a href="" target="_blank"> <img src="http://2.bp.blogspot.com/-__KEjS96cKQ/T-QnoD-COkI/AAAAAAAABak/TApElCVZQZU/s1600/cognizantlogo.gif" /> </a>
<a href="" target="_blank"> <img src="http://4.bp.blogspot.com/-Jx7VCmkr7RQ/T-QnpmKo6HI/AAAAAAAABas/kFMRVFUfeKU/s1600/hcl_partner_logo.gif" /> </a>
<a href="" target="_blank"> <img src="http://4.bp.blogspot.com/-Q7HzLyIJpLk/T-QnrJPWMYI/AAAAAAAABa0/EhOLDofkUxM/s1600/mphasislogo.gif" /> </a>
<a href="" target="_blank"> <img src="http://4.bp.blogspot.com/-XwXRWJ82ySc/T-QnsWj-YuI/AAAAAAAABa8/M5TACpbpHtI/s1600/punjlloydlogo.gif" /> </a>
</div>
<script type="text/javascript">
marqueeInit({
 uniqueid: 'marquee2',
 style: { //style object for this marquee container (use quotes on both sides of the : as shown)
    'width': '400px',
    'height': '100px',
    'color': '#fff',
    'background-color': '#4dd469',
    'font-family': 'sans-serif',
    'margin': '5px auto'},
 inc:10, //speed - of marquee slider
 mouse: 'cursor driven', //mouseover behavior ('pause' 'cursor driven' or false)
 moveatleast: 4,
 neutral: 150,
 savedirection: true
});
</script>
In this slider, Its change the sliding speed according to the position of the mouse. At left it move in right direction and vice versa.

Further Customization

In this slider , you can also customized it further like Sliding Speed, Background Color, Fonts, Width and Height of the Marquee. All things are colored and bold with their uses in the above code.For choosing Color Hexadecimal code, you can visit HexColor.in

Need Help??

If you having trouble to implement these Slider in your webpage, Feel free to share your problem with us.


Share this article :

Post a Comment

PLEASE DON'T PLACE BULK MESSAGE , FOR ADVERTISING!

 
Support : Creating Website | Johny Template | Mas Template
Copyright © 2011. Blogging Trainings - All Rights Reserved
Template Created by Creating Website Published by Mas Template
Proudly powered by Blogger