jQuery(function($) { $.localScroll.defaults.axis = "x"; $.localScroll.hash({ target: "#innerWrapper", queue: true, duration: 0 }); $.localScroll({ target: "#innerWrapper", queue: true, duration: 2500, hash: false, onBefore: function(e, anchor, $target) { }, onAfter: function(anchor, settings) { } }); }); jQuery(function($) { var max = 0; $("label").each(function() { if ($(this).width() > max) { max = $(this).width(); } }); $("label").width(max); }); $(document).ready(function() { $("#homepagePanel H1, #homepagePanel H2, #homepagePanel .miniNavigation").hide(); $("#footer").hide(); $("#homepagePanel H1, #homepagePanel H2").toggle("slide", { direction: "right" }, 2000); $("#homepagePanel .miniNavigation").toggle("slide", { direction: "down" }, 2000); $("#footer").toggle("slide", { direction: "left" }, 2000); $("#footer").css({ opacity: "0.2" }); $("#footer").hover(function() { $("#footer").stop().animate({ opacity: "1.0" }, 500); }, function() { $("#footer").stop().animate({ opacity: "0.2" }, 500); }); $("#outerContainerGallery a").lightBox(); $("#tweet").tweet({ join_text: "auto", username: "krr17", avatar_size: 48, count: 1, auto_join_text_default: "we said,", auto_join_text_ed: "we", auto_join_text_ing: "we were", auto_join_text_reply: "we replied", auto_join_text_url: "we were checking out", loading_text: "Loading tweets..." }); });