Problem with my image map please help Problem with my image map please help
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

Problem with my image map please help

Started by dawndmd, January 14, 2007, 02:41:47 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

dawndmd

Hi, I have an image map under my logo.  The problem is that the links are set up correcting in my coordinates in the template.html file, but when you click on the image map links in the browser it is adding /gallery/contact     It puts the /gallery in each one of my links so they are not working.  Please view my gallery at www.branicdesigns.com/gallery   I really need to figure out how to get the /gallery part of the url out.  Dawn

Nibbler

This is nothing to do with pnCPG, and nothing to do with Coppermine. It is basic HTML.

First fix this:

<img src="file:///E|/Websites/Branic%20Designs%20Digital%20Scrapbooking/Forum/templates/links.jpg" width="780" height="30" border="0" usemap="#Map" />

Then change your map to this:


<map name="Map" id="Map">
  <area shape="rect" coords="33,5,98,28" href="../index.html" target="_self" alt="Home" />

  <area shape="rect" coords="131,3,183,27" href="../store/" target="_self" alt="Shop" />
  <area shape="rect" coords="219,4,270,27" href="../branicblog/" target="_blank" alt="Blog" />
  <area shape="rect" coords="303,4,380,30" href="../gallery/" target="_self" alt="Photo Gallery" />
  <area shape="rect" coords="413,3,484,28" href="../forum/" target="_self" alt="Forum" />
  <area shape="rect" coords="524,4,628,28" href="../resources.htm" target="_self" alt="Resources" />
  <area shape="rect" coords="654,1,767,25" href="../contact.htm" target="_self" alt="Contact Us" />
</map>

dawndmd