Image roll over help PHP Needed in code too (Shopping cart)

Hey everone, this is my first post here.

so my question is I have a store and in the store i want the product image to be a roll over. How do i do this lol so far I have the product_info.php page and I know I should put the java script here but I alo need to put a variable so that it will use imagename2.jpg for the roll over. Question is how?? lol PLEASE help

p.s. I THINK this might be part of the variable code i need to make?? ;)<?php echo '<a href="' . tep_href_link(DIR_WS_IMAGES . $product_info['products_image']) . '" target="_blank">' . tep_image(DIR_WS_IMAGES . $product_info['products_image'], $product_info['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'hspace="5" vspace="5"') . '<br>'

Sponsor our Newsletter | Privacy Policy | Terms of Service