Sometimes an article cannot be completed without a proper quote or quotation from an authentic source. People want the news to be accurate and precise. Therefore, they always count on a reliable source. Stuffing your articles with too many quotations might make your blog posts look lengthy, but you users might feel difficult to scroll too much. How about a jQuery Quote rotator and animator, which would not only make your quotations look remarkable but will also gather all the quotes at one place. In this article, we will show you How to create a jQuery Quote Rotator in Blogger?
Here is the preview of the widget:
- Blogging is not about earning. Its about serving the Humanity.
- Don't choose Blogging as your profession, unless you really have no choice!!!
- Education is the most powerful weapon which you can use to change the world.
- The Lift is too short, Live it or be dead.
- Progress is the product of human agency. Things get better because we make them better. Things go wrong when we get too comfortable, when we fail to take risks or seize opportunities.
- You can't have a light without a dark to stick it in.
- You must not lose faith in humanity. Humanity is an ocean; if a few drops of the ocean are dirty, the ocean does not become dirty.
- When I do good, I feel good; when I do bad, I feel bad, and that is my religion.
- Half the money I spend on advertising is wasted; the trouble is I don't know which half.
The First thing you need to do is to login into your blogger account. Now from the blogger dashboard go to Create a new Posts >> Edit HTML Tab and just paste the following JavaScript and CSS Code within the Blogger HTML Editor.
<link href="https://googledrive.com/host/0B0WJjcJEFNziaGlLbi04Uk00b3c" rel="stylesheet"></link>
<script src="https://googledrive.com/host/0B0WJjcJEFNzid180dVRuai1WQ1U" type="text/javascript"></script>
<script>
jQuery(document).ready(function($) {
$('#words').quoteRotator();
});
</script>
After adding the above coding, you need to add the following HTML code into the Blogger HTML Editor so that it would help you in creating rotating and animated quotations. You can change the animation transaction depending upon your needs.
<!-- MyBloggerLab Quote Rotator -->
<div id="words">
<ul class="word-container">
<li data-author="--- Syed Faizan Ali" data-easeout="lightSpeedOut">Blogging is not about earning.
Its about serving the Humanity.</li>
<li data-author="--- Syed Faizan Ali">Don't choose Blogging as your profession, unless you really have no choice!!!</li>
<li data-author="--- Syed Faizan Ali" data-easeout="fadeOutDown">Education is the most powerful weapon which you can use to change the world.</li>
<li data-author="--- Syed Faizan Ali" data-easein="fadeInDown">The Lift is too shorT, Live it or be dead. </li>
<li data-author="--- Bill Gates (Microsoft)" data-easeout="bounceOut">It's fine to celebrate success but it is more important to heed the lessons of failure.</li>
<li data-author="--- Arlo Guthrie (1947 - )" data-easein="bounceIn">You can't have a light without a dark to stick it in. </li>
<li data-author="--- Bill Gates (Microsoft)" data-easein="lightSpeedIn">If you think your teacher is tough, wait until you get a boss. He doesn't have tenure.</li>
</ul>
<div class="quote">
<div class="quote-content">
</div>
<cite class="quote-author"></cite>
</div>
</div>
Congratulations: Now publish your article and enjoy the magic. The quote would rotate automatically. However, you can skip to the next quote with ease. It would keep on rotating until you move to another webpage.
We hope this tutorial has helped you in learning how to create a Jquery quotation Rotator in Blogger. Do let us know what you think about this widget. Share your thoughts and opinions through the comments below.
We hope this tutorial has helped you in learning how to create a Jquery quotation Rotator in Blogger. Do let us know what you think about this widget. Share your thoughts and opinions through the comments below.
About the Editorial Team
The Editorial Team of MyBloggerLab consists of a group of Professional Blogger geeks Led by Syed Faizan Ali (Founder of MyBloggerLab).
25 comments
WOW ! Awesome creativity man. Keep it up.
where do we add the second code na
You need to add both codes in Blogger Post Editor!
you menan i should add the both codes on my post editor before writing my post? pls if there is anything to cahngen in the code pls let me know
Not really, just change the quotation and that's all
This rotate randomly, not that far.
<script type='text/javascript'>
var myTextQ = new Array();
myTextQ[0]="Quote 1"
myTextQ[1]="Quote 2"
myTextQ[2]="Quote 3"
myTextQ[3]="Quote 4"
myTextQ[4]="Quote 5"
myTextQ[5]="Quote 6"
var random=Math.floor(6*Math.random());
document.write("<div style='background:url(http://2.bp.example.com/example.jpg) no-repeat top left;margin:1px 0px;padding:2px 0px 2px 4px;'>");
document.write("<b>");
document.write("Quote: ");
document.write("</b>");
document.write(myTextQ[random]);
document.write("</div>");
</script>
That Is Awesome
well done syed ! keep it up !
Awesome post , but professional bloggers wouldn't use this widget instead they would use the same space for advertisement !
PEACE
really nice!
Nice But i am not going to use it
i dont know why. this is not work on my blog.
http://munafsiblog.blogspot.com/
Thanks so much... But why I can't edit margin-botton, add background in CSS?
can you please elloborate ??
i cannot understand ??? where to paste the code ??
My blog too :( so sad for that :'(
SuPeR
Wow this is excellent, thanks so much!
it's amazing and very cool.. I will try it in my blog.. thanks before
YOU ARE THE BEST! I LOVE YOUR WORK!
Can we add a next and forward button ??
how to create database excelsheet in my blogger for direct entry
so tell me my email id is saijpurhindishala01@gmail.com
Here's a nice tutorial for that
http://www.mybloggerlab.com/2013/03/how-to-embed-pdf-and-other-documents-in-blogger-posts.html
very nice block quote. But I need to make speed more slow. How to set up that
the quotes are odd . .
Again, the link does not work: https://googledrive.com/host/0B0WJjcJEFNziaGlLbi04Uk00b3c
Could you give us the files for download please?
Post a Comment
We’re eager to see your comment. However, Please Keep in mind that all comments are moderated manually by our human reviewers according to our comment policy, and all the links are nofollow. Using Keywords in the name field area is forbidden. Let’s enjoy a personal and evocative conversation.