New Zenner
- Join Date:
- Feb 2009
- Posts:
- 41
- Plugin Contributions:
- 0
Adding links and swapping images in Header
I've been scouring the Zen Cart posts for information on how to add links in the header. Every one I've come across has resulted in a dead end (mostly due to the post never getting finished with a positive resolution).
Here's what I'm doing...
I created a custom template and have successfully added the main header in the logowrapper in the stylesheet.css page.
I used Dreamweaver to create my swap image & link codes that I want to add into my Zen Cart, but I have NO idea what I should do next. All of these files are new to me - I'm not used to working with shopping cart software.
Is there a file (or files) where I can add my code to?
In DW, this code is created:
(On the Header itself):
<img src="../images/brock_tool_detroit_header.jpg" alt="Login" name="Image1" width="950" height="137" border="0" usemap="#Map" id="Image1" href="#">
(then in the source code):
<map name="Map">
<area shape="rect" coords="421,102,536,137" href="https://www.brocktooldetroit.com/catalog" alt="Home" onMouseOver="MM_swapImage('Image1','','../images/brock_tool_detroit_home_over.jpg',1)" onMouseOut="MM_swapImgRestore()">
<area shape="rect" coords="556,105,672,135" href="#" onMouseOver="MM_swapImage('Image1','','../images/brock_tool_detroit_comments_over.jpg',1)" onMouseOut="MM_swapImgRestore()">
<area shape="rect" coords="692,108,806,135" href="http://www.brocktooldetroit.com/catalog/index.php?main_page=contact_us" alt="Contact Us" onMouseOver="MM_swapImage('Image1','','../images/brock_tool_detroit_contact_over.jpg',1)" onMouseOut="MM_swapImgRestore()">
<area shape="rect" coords="823,104,941,134" href="https://www.brocktooldetroit.com/catalog/index.php?main_page=login" alt="Login" onMouseOver="MM_swapImage('Image1','','../images/brock_tool_detroit_login_over.jpg',1)" onMouseOut="MM_swapImgRestore()">
</map>
Any help is GREATLY appreciated. I've wasted a bunch of hours on this already, with no end in sight! :yuck: