Searching for rotators based on JQuery only finds the original rotator plugin and a bunch of photo galleries, which I don't want. Please suggest other rotators available. The rotator should be able to rotate HTML not just images (like the Glimmer tool, which can create JQuery/HTML code for rotating images).
+1
A:
How about:
You can even modify/customize these plugins to create the kind of effect you want.
Sarfraz
2010-08-01 17:28:59
Flip is a bit too fancy, but Cycle looks great. Upvoting.
mare
2010-08-01 18:06:33
@mare: yes and nice one and thanks :)
Sarfraz
2010-08-01 18:17:09
+1
A:
link text is pretty cool. They show an example from a payroll company in their demos that even degraded nicely without Javascript.
Andrew
2010-08-01 17:44:11
This one is great too and I'm definitely going to use it sometime in the future.
mare
2010-08-01 18:07:00
+2
A:
Why use plug-in's? use this one liner (i just separated it into 3 lines for the sake of readability)
see demo
Your HTML should be something like this
HTML
<div class="yourContainer">
<div>some html</div>
<div>other html</div>
</div>
JS / jQuery
$(function(){
$('.yourContainer div:gt(0)').hide();
setInterval(function(){$('.yourContainer :first-child').fadeOut().next().fadeIn().end().appendTo('.yourContainer');}, 3000);
});
CSS (optional = makes transition smoother)
.yourContainer{ position:relative;}
.yourContainer div{ position:absolute; hight:300px; width:300px; background:red; }
adardesign
2010-08-01 17:46:15
Accepting this due to the simplicity presented. Specifically which part of the CSS makes the transition smoother because I'm seeing "coloring" effect during transition? I have a very subtle gray background on which I am about to put my divs and content.
mare
2010-08-01 18:05:57
Hey check out my sample, something isn't working right!Here http://jsfiddle.net/9S9Qx/
mare
2010-08-01 19:16:12
See updated http://jsfiddle.net/9S9Qx/4/ please fix the CSS for the tags. Things i changed: attached jQuery 1.4.2, and added `position:absolute;` to the `.slide{}` and added speed to `fadeIn()` and `fadeOut()`
adardesign
2010-08-01 19:26:35