raskal Posted December 20, 2003 Share Posted December 20, 2003 Hello! I was wondering how I can make the header image an image map? I Searched wiki but could not find anything. If you could tell me what file to edit and were it would be GREATLY appreciated. Thanks Everyone! Link to comment Share on other sites More sharing options...
Guest Posted December 20, 2003 Share Posted December 20, 2003 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 More sharing options...
raskal Posted December 21, 2003 Author Share Posted December 21, 2003 Thank You! :D Link to comment Share on other sites More sharing options...
raskal Posted December 21, 2003 Author Share Posted December 21, 2003 anyone else..this didnt work for me... :( Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.