You should be able to put your jQuery at the bottom of the testimonials.php file. The only thing you'll have to change from the code in the link above is to insert the correct class name for your divs.