CrassOne Posted July 25, 2005 Share Posted July 25, 2005 I got some javascript to create a mouseover effect on the Product Listing page. It works great in Netscape but in IE there are no products showing. See it here: http://www.crasscommerce.com/catalog/index.php?cPath=3_10 This is the javascript code: <script language="JavaScript" type="text/JavaScript"> <!-- function rowOverEffect(object) { if (object.className == 'moduleRow') object.className = 'moduleRowOver'; } function rowOutEffect(object) { if (object.className == 'moduleRowOver') object.className = 'moduleRow'; } </script> And this code is replaced... if (($rows/2) == floor($rows/2)) { $list_box_contents[] = array('params' => 'class="productListing-even"'); } else { $list_box_contents[] = array('params' => 'class="productListing-odd"'); } ...by this: $list_box_contents[] = array('params' => 'class="moduleRow" onMouseOver="rowOverEffect(this)" onMouseOut="rowOutEffect(this)" onclick="javascript:;"'); Thanks in advance for your help. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.