Hi guys, I just stumbled upon a pretty cool jQuery plugin called innerfade. It basically rotates elements stored in a list, this could be text, images, links, whatever really. This can be used with any container tag like divs or uls, the id of the containing div, ul etc.
jQuery.noConflict(); // Reverts '$' variable back to other JS libraries
jQuery(document).ready( function(){
$('#news').innerfade({
animationtype: 'fade',
speed: 1000,
timeout: 5000,
type: 'sequence',
containerheight: '250px'
});
}
);
![Sam Deering](https://uploads.sitepoint.com/wp-content/uploads/2018/10/1539663963Sam-Deering-150x150.jpg)
Sam Deering has 15+ years of programming and website development experience. He was a website consultant at Console, ABC News, Flight Centre, Sapient Nitro, and the QLD Government and runs a tech blog with over 1 million views per month. Currently, Sam is the Founder of Crypto News, Australia.
jQuery
Share this article