jQuery(function($) { // Your code using failsafe $ alias here... $("ul.sf-menu").superfish({ animation: {height:'show'}, speed: 300, autoArrows: true }); $('.testimonialswrpr').cycle({ timeout: 7000, fx: 'fade' }); $('.physicianswrpr').cycle({ timeout: 6000, fx: 'fade' }); });