Inner fade

$(document).ready(function(){ $('#news ul').innerfade({ animationtype:'slide', speed:750, timeout:3000, type:'random' }); }); /* ========================================================= // jquery.innerfade.js // Datum: 2008-02-14 // Firma: Medienfreunde Hofmann & Baldes GbR // Author: Torsten Baldes // Mail: t.baldes@medienfreunde.com…

slide cross fade

$(document).ready(function(){ rotatePics(1); }); function rotatePics(currentPhoto){ var numberOfPhoto=$('#photos img').length; currentPhoto=currentPhoto % numberOfPhoto; $('#photos img').eq(currentPhoto).fadeOut(function(){ $('#photos img').each(function(i){ $(this).css( 'zIndex',((numberOfPhoto-i)+currentPhoto) % numberOfPhoto ); }); $(this).show(); setTimeout(function(){rotatePics(++currentPhoto);},4000); }); } #photos img { position: absolute;…

color box plugin

$(document).ready(function(){ $('a[rel=celeb]').colorbox({ transition: 'fade', speed: 500, current: "{current} of {total} celebrity photos", width:'100%', height:'100%' }); }); /* ColorBox Core Style The following rules are the styles that are consistant between…

Light BOX Custom

$(document).ready(function(){ $('a.lightbox').click(function(e) { $('body').css('overflow-y', 'hidden'); // hide scrollbars! $('<div id="overlay"></div>') .css('top', $(document).scrollTop(0)) .css('opacity', '0') .animate({'opacity': '0.5'}, 'slow') .appendTo('body'); $('<div id="lightbox"></div>') .hide() .appendTo('body'); $('<img>') .attr('src', $(this).attr('href')) .load(function() { positionLightboxImage(); }) .click(function()…