X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Please Help I am pulling my hair!!!! (https://forum.x-cart.com/showthread.php?t=18898)

rjcbear 12-27-2005 07:33 PM

Please Help I am pulling my hair!!!!
 
Hello everyone,

I have been going around in circles trying to have this to work but I do not see how. Would you kindly give me a litle bit of help.

I have a nav bar that will have several links to pages in my store here are few:
Referral, Reward Points, Affiliates, Contact Us, Links, and Help

Here is what I have done so far:

In the head.tpl I have added the following alt="" usermap="#header_01" to the line below.

Code:

<TD>[img]{$ImagesDir}/header_01.gif[/img]</TD>

Then I added to rectangle_bottom.tpl the following

<map name="header_01">
<area shape="rect" alt="Help" coords="478,22,548,58" href="http://www.mystore.com/help.php">
<area shape="rect" alt="Links" coords="387,19,470,55" href="http://www.mystore.com/links.php">
<area shape="rect" alt="Contact Us" coords="100,22,187,57" href="http://www.mystore.com/help.php?section=contactus&mode=update">
<area shape="rect" alt="Affiliates" coords="4,22,92,57" href="https://www.mystore.com/partner/home.php">
<area shape="rect" alt="Reward Points" coords="289,19,374,55" href="http://www.mystore.com/Customer-Reward-Points-p-1.html">
<area shape="rect" alt="Refer a Friend" coords="197,20,280,56" href="http://www.mystore.com/crp_referral.php">
</map>


here is the complete rectangle_bottom.tpl
Code:

{* $Id: rectangle_bottom.tpl,v 1.8 2004/06/07 11:19:29 max Exp $ *}
</TD>
</TR>
{if $config.Adaptives.browser eq 'MSIE' || $config.Adaptives.browser eq ''}
<TR><TD height="100%">[img]{$ImagesDir}/spacer.gif[/img]</TD></TR>
{else}
<TR><TD>[img]{$ImagesDir}/spacer.gif[/img]</TD></TR>
{/if}
<TR>
<TD>
{if $printable ne ''}
<HR size="1">
{/if}
{ include file="bottom.tpl" }
</TD></TR>
</TABLE>

<map name="header_01">
  <area shape="rect" alt="Help" coords="478,22,548,58" href="http://www.mystore.com/help.php">
  <area shape="rect" alt="Links" coords="387,19,470,55" href="http://www.mystore.com/links.php">
  <area shape="rect" alt="Contact Us" coords="100,22,187,57" href="http://www.mystore.com/help.php?section=contactus&mode=update">
  <area shape="rect" alt="Affiliates" coords="4,22,92,57" href="http://www.mystore.com/partner/home.php">
  <area shape="rect" alt="Reward Points" coords="289,19,374,55" href="http://www.mystore.com/Customer-Reward-Points-p-1.html">
  <area shape="rect" alt="Refer a Friend" coords="197,20,280,56" href="http://www.mystore.com/crp_referral.php">
</map>


Please point me in the correct direction of what I am doing wrong. BTW this is for 4.017

Thank you in advance.

Kind regards,
Ricky

webmonster 12-27-2005 08:59 PM

Keep the code together, Place this where you want it to appear
Code:

[img]{$ImagesDir}/header_01.gif[/img]
<map name="header_01">
<area shape="rect" alt="Help" coords="478,22,548,58" href="http://www.mystore.com/help.php">
<area shape="rect" alt="Links" coords="387,19,470,55" href="http://www.mystore.com/links.php">
<area shape="rect" alt="Contact Us" coords="100,22,187,57" href="http://www.mystore.com/help.php?section=contactus&mode=update">
<area shape="rect" alt="Affiliates" coords="4,22,92,57" href="https://www.mystore.com/partner/home.php">
<area shape="rect" alt="Reward Points" coords="289,19,374,55" href="http://www.mystore.com/Customer-Reward-Points-p-1.html">
<area shape="rect" alt="Refer a Friend" coords="197,20,280,56" href="http://www.mystore.com/crp_referral.php">
</map>


rjcbear 12-28-2005 05:39 AM

I placed them together just like it was suggested above and still not working :cry: any other ideas?

Thanks in Advance.

Kind regards,
Ricky

webmonster 12-28-2005 05:48 AM

What problem are you having? Does the image appear?

William Hayes 12-28-2005 05:58 AM

Looks like you've spelt the attribute "usemap" incorrectly.

In your code you have "usermap"

Code:

<TD>[img]{$ImagesDir}/header_01.gif[/img]</TD>

I can't see anything else wrong.

W

rjcbear 12-28-2005 10:59 AM

William,

Thank you so much that was the problem. ](*,)

Kind regards,
Ricky


All times are GMT -8. The time now is 04:36 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.