My status

Posts Tagged ‘jQuery Testimonial Rotator’

May 5th

jQuery Testimonial Rotator

written by: Lee Johnson

I had been looking to add a jQuery testimonial/SEO tips rotator section on my sidebar for all my main website pages. I had been looking online it seemed like for hours, then I thought I would start to add a quick tweet. Twitter can be of so much use. Wabbsters responded to me in no time, sent me to a great site lik that explains all you need to know: jQuery Testimonial Rotator.

Merrick Christensen’s blog article all you need to have a rotator on your site soon. Everything is there to download and see a demo. It is very easy to style too. I just need to add it now to my blog. Merrick, much appreciated, keep up the good work.

The rotator works like this:

Here is the usage:

window.addEvent(‘domready’, function(){
var myQuotes = new Quotator(‘container’);
});

By default it looks for a file called quotes.js which is a simple JSON file that looks something like this:

{“quotes”:
[
{
"quote" : "Quote 1",
"author" : "Author 1"
},


{
"quote" : "Quote 2",
"author" : "Author 2"
}
]
}

Just replicate the above for as many quotes or testimonials, SEO Tips you desire. The options that can set are speed (number), json (JSON file URL), and what quote you want to start from (number).

A big thanks goes to:

A final thanks must go to Alex Hall, a website developer that assists me with many projects. His website is: Development SEO. I currently work with Alex at BT Directories Ltd – Trading as BT Customerstreet. He is always very willing to assist me and give ideas on what can be done to get the most from my website. His knowledge base is fantastic and just wish I had the patience to get to his level. Alex has added some really nice feature on the site that uses the Yahoo YUI. Alex has integrated Merricks script with YUI to get the best possible solution for my site.