View Single Post
  #15  
Old 05-05-2005, 11:51 AM
  B00MER's Avatar 
B00MER B00MER is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Keller, TX (Cart-Lab.com)
Posts: 3,165
 

Default

Here's an alternate way of achieving the same, may be more FF friendly?

Code:
{literal} <script language="JavaScript"><!-- function classChange(element,newclass) { element.className = newclass; } //--> </script> <style type="text/css"> .rowon { border: 1px black solid; } .rowoff { border: 0px; } </style>

And then the TD tag with the onMouse event handlers and function call:

Code:
<td align=center valign=top width="{$width}%" id="row{$products[product].productid}{%product.index%}" class="rowoff" onMouseOver="classChange(row{$products[product].productid}{%product.index%},'rowon')" onMouseOut="classChange(row{$products[product].productid}{%product.index%},'rowoff')">
__________________
Cart-Lab - 100+ Social Bookmarks for X-Cart.
Reply With Quote