$(document).ready(function() { /* $(function(){ $("ul#ticker").liScroll(); });*/ $("#twitter").getTwitter({ userName: "engagesuper", numTweets: 3, loaderText: "Loading tweets...", slideIn: true, slideDuration: 750, showHeading: true, headingText: "Latest Tweets", showProfileLink: true, showTimestamp: true }); $('#actions img').hover(function(){ $('#actions img').not(this).stop().animate({'opacity':.4},700); },function(){ $('#actions img').not(this).stop().animate({'opacity':1},400); }); /*$("#fundtype").change(function(){ var formtype = $(this).val(); if (formtype.length > 0){ $(".formcontainer").each(function(index){ if ($(this).attr('id') == formtype+"_form" || $(this).attr('id') == "captcha_submit"){ //$(this).slideDown() window.location = ('super_'+formtype+'_shopping.php'); } else { $(this).slideUp() } }); } else { $(".formcontainer").slideUp(); } });*/ $(".telstra_modal").click(function(){ $('#modal').slideDown(); }); $("#modal .close").click(function(){ $('#modal').slideUp(); }); $("#fundtype").change(function(){ var formtype = $(this).val(); if (formtype.length > 0){ window.location = ('super_'+formtype+'_shopping.php'); } }); $(function() { $( "#datepicker" ).datepicker({ dateFormat:"dd/mm/yy" }); }); });