Discussion:
cfinclude help
(too old to reply)
Jennifer Gustafson
2010-02-17 03:13:30 UTC
Permalink
Hi All,

I am creating a site using cfincludes to place the header and footer on the
template. The header and footer are images on which I place links using
hotspots (maps). Everything works fine when I have the hotspots/maps on
just the header. But when I add them to the footer also, the header
hotspots/maps appear on the footer also when both are included on the
template (when I hover over the footer in Live View, the header links appear
on the footer and the header hotspots show on the footer when I view the
template in Design View). I am using Dreamweaver CS4 and Coldfusion MX7.
Any help here would be greatly appreciated.

Thanks much,

Jen
Richard McKenna
2010-02-23 08:50:41 UTC
Permalink
On Feb 16, 10:13 pm, "Jennifer Gustafson"
Post by Jennifer Gustafson
Hi All,
I am creating a site using cfincludes to place the header and footer on the
template.  The header and footer are images on which I place links using
hotspots (maps).  Everything works fine when I have the hotspots/maps on
just the header.  But when I add them to the footer also, the header
hotspots/maps appear on the footer also when both are included on the
template (when I hover over the footer in Live View, the header links appear
on the footer and the header hotspots show on the footer when I view the
template in Design View).  I am using Dreamweaver CS4 and Coldfusion MX7.
Any help here would be greatly appreciated.
Thanks much,
Jen
Hi Jen,

Sounds like you've named the maps the same thing.

<img src="planets.gif" width="145" height="126" alt="Planets"
usemap="#planetmap" />

<map name="planetmap">
<area shape="rect" coords="0,0,82,126" href="sun.htm" alt="Sun" />
<area shape="circle" coords="90,58,3" href="mercur.htm"
alt="Mercury" />
<area shape="circle" coords="124,58,8" href="venus.htm" alt="Venus" /
</map>

Notice the usemap attribute on the img and the name attribute on the
map.

Can you post the code for them both.

Regards,

Richard

Loading...