I am having an issue with the javascript throwing an error for the additional image. Here is what I am using:
Code:
$script_link = '<script language="javascript" type="text/javascript"><!--' . "\n" . 'document.write(\'' . ($flag_display_large ? '<a href="javascript:popupWindow(\\\'' . $large_link . '\\\')">' . $thumb_slashes . '</a>' : $thumb_slashes) . '\');' . "\n" . '//--></script>';
which generates this:
Code:
<script language="javascript" type="text/javascript"><!--
document.write('<a href="javascript:popupWindow(\'http://calinoproducts.com/store/index.php?main_page=popup_image_additional&pID=2&pic=0&products_image_large_additional=images/large/testproduct_1_LRG.jpg\')"><img src="bmz_cache/3/3e403c14ca4950d9bec9e6df26fc1837.image.80x80.jpg" alt="Cal\'ino Oil - 10 oz. pump" title=" Cal\'ino Oil - 10 oz. pump " width="80" height="80" style="position:relative" onmouseover="showtrail(\'images//testproduct_1.jpg\',\'Cal\'ino Oil - 10 oz. pump\',80,80,177,177,this,69,69,11,11);" onmouseout="hidetrail();" /></a>');
//--></script>
I don't get any rollover effect and IE tells me there is an error - expected ')' on the line that has //-->< /script> on it.
I have had this issue every time I try to use this version, and always wind up going back to an older version, but I'd really like to get this fixed. Looking at the code, there are no stray opening parenthesis, so I don't know why it's saying that. Anyone have any input?
Thanks!
Bookmarks