The theme handbook tells me to edit this code in page.tpl.php to change the slideshow effect:

jQuery(document).ready(function($) { $('.slideshow').cycle({ fx: 'fade' , timeout: 8000, delay: 2000}); });

I've changed the effect once before, and would now like to change it back to fade. Unfortunately, it seems this chunk of code has completely disappeared! I've searched and searched for it, but can't find it. If someone can help me find it again, or tell me where to insert it to make the required changes, I'd be grateful.

Thanks

Comments

danpros’s picture

Status: Active » Fixed

Hi,

For Drupal 7 version the code is in scripts/jquery.cycle.all.js

jQuery(document).ready(function($) {
    $('.slideshow').cycle({
		fx: 'fade' , timeout: 8000, delay: 2000});
});

Change that to meet what you need.

Dan

Automatically closed -- issue fixed for 2 weeks with no activity.