Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Image Map In Header


raskal

Recommended Posts

I assume u know how to make image maps and are just wondering where the code identifies which image to place in the header. The file that contains the header image is /catalog/includes/header.php and the entry is around line 60.

 

<table border="0" width="100%" cellspacing="0" cellpadding="0">
 <tr class="header">
  
<td valign="middle"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'xxxlogo.png', 'XXX logo') . '</a>'; ?></td>

   <td align="right" valign="bottom"><!-- <?php echo '<a href="' . tep_href_link(FILENAME_ACCOUNT, '', 'SSL') . '">' . tep_image(DIR_WS_IMAGES . 'header_account.gif', HEADER_TITLE_MY_ACCOUNT) . '</a>  <a href="' . tep_href_link(FILENAME_SHOPPING_CART) . '">' . tep_image(DIR_WS_IMAGES . 'header_cart.gif', HEADER_TITLE_CART_CONTENTS) . '</a>  <a href="' . tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL') . '">' . tep_image(DIR_WS_IMAGES . 'header_checkout.gif', HEADER_TITLE_CHECKOUT) . '</a>'; ?>  --></td>
 </tr>
</table>

 

This code is just to point out what to look for it has been slightly modified so I would not suggest cutting and pasting it for use. The pin separated out contains the image.

 

I hope this helps.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...