// // Business to Business With a Twist - Javascript and $ // Created by WebStuff.biz - 2009 // $(document).ready(function(){ // Appending HTML Elements $('h1').append(""); $('#editorialwrapper h3').append("click for more"); $('.testimonials ul').innerfade({ speed: 1000, timeout: 8000, type: 'random', containerheight: '80px' }); /*$('.mainbanner ul').innerfade({ speed: 1400, timeout: 4000, type: 'sequence', containerheight: '196px' });*/ $('ul.month_selector li a').click(function(){ $('ul.month_selector li a').removeClass('active'); $(this).addClass('active'); }); $('ul.month_selector li').click(function(){ $('#tabbedinterface div').hide(); }); $('#tabbedinterface div').css({'display':'none'}); $('ul.month_selector li.month1').click(function(){$('#tabbedinterface #month1').slideDown(600);}); $('ul.month_selector li.month2').click(function(){$('#tabbedinterface #month2').slideDown(600);}); $('ul.month_selector li.month3').click(function(){$('#tabbedinterface #month3').slideDown(600);}); $('ul.month_selector li.month1-hunter').click(function(){$('#tabbedinterface #month1-hunter').slideDown(600);}); $('ul.month_selector li.month2-hunter').click(function(){$('#tabbedinterface #month2-hunter').slideDown(600);}); $('ul.month_selector li.month3-hunter').click(function(){$('#tabbedinterface #month3-hunter').slideDown(600);}); $('#editorialwrapper table').hide(); $('#editorialwrapper table table').show(); $('#editorialwrapper h3').click(function(){ $(this).toggleClass('active'); $(this).next('table').toggle(1500); return false; }); });