$(document).ready(function() { $("#bottomHint .hint").hide(); var hintStat = "false"; $("#bottomHint").toggleFooter("aaaa"); if($("#headerHint")){ $("#headerHint").css('visibility','none'); $("#headerHint").fadeIn(900, 'easeIn'); } $("nav a").click(function () { if($("#headerHint")){ } }); $(".submit_btn").click(function () { }); jQuery('a.gallery').colorbox({ opacity:0.5 , rel:'group1', speed:450}); }); $(function(){ $('#slides').slides({ preload: true, preloadImage: 'img/loading.gif', play: 11000, pause: 3000, hoverPause: true, animationStart: function(current){ $('.caption').animate({ bottom:-45 },100); if (window.console && console.log) { // example return of current slide number console.log('animationStart on slide: ', current); }; }, animationComplete: function(current){ $('.caption').animate({ bottom:0 },200); if (window.console && console.log) { // example return of current slide number console.log('animationComplete on slide: ', current); }; }, slidesLoaded: function() { $('.caption').animate({ bottom:0 },200); } }); });