Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How to add rollover images?


QueueIn

Recommended Posts

Posted

What i have calling image is

 

<td width="14%" align="left" bgcolor="#2C5C9D"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'Button-is.gif', 'ETekPros Information Center') . '</a>'; ?></td>

 

 

How can I change this so i can use rollove image ?

 

<body onLoad="MM_preloadImages('../../../BASE/web-home/etekpros/public_html/store/code/new/Button_Link_1_OVER.png')">

<div align="center"><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('test','','../../../BASE/web-home/etekpros/public_html/store/code/new/Button_Link_1_OVER.png',1)"><img src="../../../BASE/web-home/etekpros/public_html/store/code/new/Button_Link_1.png" alt="Information Center" name="Information Center" width="157" height="40" border="0"></a></div>

 

 

Any help would be much appricated

 

Thanks

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...