Learn how to use jQuery at the Blog

Uncoverr « visit

  • Added 11 months ago
  • 20 Lines of Code shown
  • 1 Links of Interest
http://uncoverr.com
This is my Source Code and I don't want to show it here
View Source Code only (as overlay)
// That code snippet belongs to Uncoverr - http://uncoverr.com

function random_number(min,max) {
    return (Math.round((max-min) * Math.random() + min));
}
jQuery(window).load(function(){
	jQuery(this).delay(1000,function(){
		
		var fn = function() {};
		
		jQuery("li.item_block ul").each(function(){
			jQuery(this).fxqueue({marginLeft:(this.rel)?this.rel:random_number(50, 250)+'px'}, 'slow', "swing", fn);
		});
	});
});
jQuery(document).ready(function() {
    // Initialise the first and second carousel by class selector.
	// Note that they use both the same configuration options (none in this case).
	jQuery('.first-and-second-carousel').jcarousel({
		scroll: 1
		});
});