I had a random tip section..But I wanted it to be rotation each of the tips instead..here is the code:-
Show a random tip within the class names selected
$(document).ready( function(){
var tipsHome = $("#xssTipsOverview");
var selector = (overviewTipClassSelector == "") ? ".xssOverviewTip" : overviewTipClassSelector;
var theTips = tipsHome.find(selector);
// random # between 0 and the number of tips
var randomNum = Math.floor(Math.random()*theTips.length);
var randomTip = $(theTips[randomNum]);

Let me know. Thanks in advance