This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Dreamweaver > October 2005 > image map not working





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author image map not working
Libbi Bosworth

2005-10-31, 6:24 pm

Can anyone see what I am doing wrong? I am trying to make a link on the
"For a great deal, click here!" Is it because I didn't give my image files
a "name"? I can't see that it helped when i tried it.

Thanks. Aspirin.

http://www.fonicdesign.com/T3/financial2.html


Murray *TMM*

2005-10-31, 6:24 pm

Change this -

<map src="financialsuccess_r3_c3.jpg"><area shape="rect"
coords="33,13,263,89" a href="http://www.libbibosworth.com" target="_blank"
alt="">

to this -

<map src="financialsuccess_r3_c3.jpg"><area shape="rect"
coords="33,13,263,89" href="http://www.libbibosworth.com" target="_blank"
alt="">

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================


"Libbi Bosworth" <libbi@fonicdesign.com> wrote in message
news:dk5cdi$srr$1@forums.macromedia.com...
> Can anyone see what I am doing wrong? I am trying to make a link on the
> "For a great deal, click here!" Is it because I didn't give my image
> files
> a "name"? I can't see that it helped when i tried it.
>
> Thanks. Aspirin.
>
> http://www.fonicdesign.com/T3/financial2.html
>
>



Libbi Bosworth

2005-10-31, 6:24 pm

Thanks, Murray but still nothing...

http://www.fonicdesign.com/T3/financial2.html

"Murray *TMM*" <forums@HAHAgreat-web-sights.com> wrote in message
news:dk5dec$144$1@forums.macromedia.com...
> Change this -
>
> <map src="financialsuccess_r3_c3.jpg"><area shape="rect"
> coords="33,13,263,89" a href="http://www.libbibosworth.com"

target="_blank"
> alt="">
>
> to this -
>
> <map src="financialsuccess_r3_c3.jpg"><area shape="rect"
> coords="33,13,263,89" href="http://www.libbibosworth.com" target="_blank"
> alt="">
>
> --
> Murray --- ICQ 71997575
> Team Macromedia Volunteer for Dreamweaver
> (If you *MUST* email me, don't LAUGH when you do so!)
> ==================
> http://www.dreamweavermx-templates.com - Template Triage!
> http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
> http://www.dwfaq.com - DW FAQs, Tutorials & Resources
> http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
> ==================
>
>
> "Libbi Bosworth" <libbi@fonicdesign.com> wrote in message
> news:dk5cdi$srr$1@forums.macromedia.com...
>
>



Alper Bulu?

2005-10-31, 6:24 pm

I didnt try but that should work



<map name="m_financialsuccess_r3_c3.jpg"><area shape="rect" coords="33,13,263,89" href="http://www.libbibosworth.com" target="_blank"
alt="">
Murray *TMM*

2005-10-31, 6:27 pm

Make sure it's all on one line.

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================


"Libbi Bosworth" <libbi@fonicdesign.com> wrote in message
news:dk5dni$1fu$1@forums.macromedia.com...
> Thanks, Murray but still nothing...
>
> http://www.fonicdesign.com/T3/financial2.html
>
> "Murray *TMM*" <forums@HAHAgreat-web-sights.com> wrote in message
> news:dk5dec$144$1@forums.macromedia.com...
> target="_blank"
>
>



Trevis

2005-10-31, 6:27 pm

All your img tags on the last row, are not closed

You have:

<td><img
src="http://www.fonicdesign.com/T3/images/financialsuccess_r4_c1.jpg"
width="150" height="99" alt="" border="0"</td>

It should be

<td>
<img src="http://www.fonicdesign.com/T3/images/financialsuccess_r4_c1.jpg"
width="150" height="99" alt="" border="0">
</td>
(You are missing the > after border="0" and before the closing </td>

<map src="financialsuccess_r3_c3.jpg"><area shape="rect"
coords="33,13,263,89" href="http://www.libbibosworth.com" target="_blank"
alt="">
</map>

<map NAME="m_financialsuccess_r3_c3.jpg">
<area shape="rect" coords="33,11,265,90" href="#">
</map>

Name io src
As far as I know map does not have src atribute.

Hope this helps.

Cheers,

Trevis

"Libbi Bosworth" <libbi@fonicdesign.com> wrote in message
news:dk5dni$1fu$1@forums.macromedia.com...
> Thanks, Murray but still nothing...
>
> http://www.fonicdesign.com/T3/financial2.html
>
> "Murray *TMM*" <forums@HAHAgreat-web-sights.com> wrote in message
> news:dk5dec$144$1@forums.macromedia.com...
> target="_blank"
target="_blank"[color=darkred]
the[color=darkred]
>
>



Libbi Bosworth

2005-10-31, 6:28 pm

still nothing...
http://www.fonicdesign.com/T3/financial2.html

"Alper Bulu?" <webforumsuser@macromedia.com> wrote in message
news:dk5em9$2vb$1@forums.macromedia.com...
> I didnt try but that should work
>
>
>
> <map name="m_financialsuccess_r3_c3.jpg"><area shape="rect"

coords="33,13,263,89" href="http://www.libbibosworth.com" target="_blank"
> alt="">



Murray *TMM*

2005-10-31, 6:28 pm

Wait a minute - you have this -

<td colspan="2"><img
src="http://www.fonicdesign.com/T3/images/financialsuccess_r3_c3.jpg"
width="300" height="100" alt="" border="0"
usemap="#m_financialsuccess_r3_c3.jpg" alt=""></td>

then this -

<map src="financialsuccess_r3_c3.jpg"><area shape="rect"
coords="33,13,263,89" href="http://www.libbibosworth.com" target="_blank"
alt="">
</map>

It would work now, if the image could find the map - but your map has no
name (and it has a src attribute which is pretty weird). But why use a map
at all? And why have you sliced the image up like you have?


--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================


"Libbi Bosworth" <libbi@fonicdesign.com> wrote in message
news:dk5ls3$dqn$1@forums.macromedia.com...
> still nothing...
> http://www.fonicdesign.com/T3/financial2.html
>
> "Alper Bulu?" <webforumsuser@macromedia.com> wrote in message
> news:dk5em9$2vb$1@forums.macromedia.com...
> coords="33,13,263,89" href="http://www.libbibosworth.com" target="_blank"
>
>



Alper Bulu?

2005-10-31, 6:28 pm

I dont like to do this.

<html>
<head>
<title>Financial Success></title>
<meta http-equiv="content-type" content="text/html;">
</head>

<body bgcolor="#FFFFFF">
<table border="0" cellpadding="0" cellspacing="0" width="600" height="399"
align="center">
<tr>
<td><img src="http://www.fonicdesign.com/T3/images/spacer.gif" width="150"
height="1" alt="" border="0"></td>
<td><img src="http://www.fonicdesign.com/T3/images/spacer.gif" width="150"
height="1" alt="" border="0"></td>
<td><img src="http://www.fonicdesign.com/T3/images/spacer.gif" width="150"
height="1" alt="" border="0"></td>
<td><img src="http://www.fonicdesign.com/T3/images/spacer.gif" width="150"
height="1" alt="" border="0"></td>
<td><img src="http://www.fonicdesign.com/T3/images/spacer.gif" width="150"
height="1" alt="" border="0"></td>
</tr>
<tr>

<td><img src="http://www.fonicdesign.com/T3/images/financialsuccess_r1_c1.jpg"
width="150" height="100" alt="" border="0"></td>
<td><img src="http://www.fonicdesign.com/T3/images/financialsuccess_r1_c2.jpg"
width="150" height="100" alt="" border="0"></td>
<td><img src="http://www.fonicdesign.com/T3/images/financialsuccess_r1_c3.jpg"
width="150" height="100" alt="" border="0"></td>
<td><img src="http://www.fonicdesign.com/T3/images/financialsuccess_r1_c4.jpg"
width="150" height="100" alt="" border="0"></td>
<td><img src="http://www.fonicdesign.com/T3/images/spacer.gif" width="150"
height="1" alt="" border="0"></td>
</tr>
<tr>
<td><img src="http://www.fonicdesign.com/T3/images/financialsuccess_r2_c1.jpg"
width="150" height="100" alt="" border="0"></td>
<td><img src="http://www.fonicdesign.com/T3/images/financialsuccess_r2_c2.jpg"
width="150" height="100" alt="" border="0"></td>
<td><img src="http://www.fonicdesign.com/T3/images/financialsuccess_r2_c3.jpg"
width="150" height="100" alt="" border="0"></td>
<td><img src="http://www.fonicdesign.com/T3/images/financialsuccess_r2_c4.jpg"
width="150" height="100" alt="" border="0"></td>
<td><img src="http://www.fonicdesign.com/T3/images/spacer.gif" width="150"
height="1" alt="" border="0"></td>
</tr>
<tr>
<td><img src="http://www.fonicdesign.com/T3/images/financialsuccess_r3_c1.jpg"
width="150" height="100" alt="" border="0"></td>
<td><img src="http://www.fonicdesign.com/T3/images/financialsuccess_r3_c2.jpg"
width="150" height="100" alt="" border="0"></td>
<td colspan="2"><img
src="http://www.fonicdesign.com/T3/images/financialsuccess_r3_c3.jpg"
width="300" height="100" alt="" border="0"
usemap="#m_financialsuccess_r3_c3.jpg" alt=""></td>
</tr>
<tr>
<td><img src="http://www.fonicdesign.com/T3/images/financialsuccess_r4_c1.jpg"
width="150" height="99" alt="" border="0"</td>
<td><img src="http://www.fonicdesign.com/T3/images/financialsuccess_r4_c2.jpg"
width="150" height="99" alt="" border="0"</td>
<td><img src="http://www.fonicdesign.com/T3/images/financialsuccess_r4_c3.jpg"
width="150" height="99" alt="" border="0"</td>
<td><img src="http://www.fonicdesign.com/T3/images/financialsuccess_r4_c4.jpg"
width="150" height="99" alt="" border="0"</td>
<td><img src="http://www.fonicdesign.com/T3/images/spacer.gif" width="150"
height="1" alt="" border="0"></td>
</tr>
<map name="m_financialsuccess_r3_c3.jpg"><area shape="rect"
coords="33,13,263,89" href="http://www.libbibosworth.com" target="_blank"
alt="">
</map>
</table>
</body>
</html>

Libbi Bosworth

2005-10-31, 6:28 pm

I guess I meant a hotspot. Are you saying there's another way to do it?
Should I have just sliced it with that one small area it's own slice then
put a link on it. I think the lightbulb just went on. Or is it off?

Libbi

"Murray *TMM*" <forums@HAHAgreat-web-sights.com> wrote in message
news:dk5mio$eph$1@forums.macromedia.com...
> Wait a minute - you have this -
>
> <td colspan="2"><img
> src="http://www.fonicdesign.com/T3/images/financialsuccess_r3_c3.jpg"
> width="300" height="100" alt="" border="0"
> usemap="#m_financialsuccess_r3_c3.jpg" alt=""></td>
>
> then this -
>
> <map src="financialsuccess_r3_c3.jpg"><area shape="rect"
> coords="33,13,263,89" href="http://www.libbibosworth.com" target="_blank"
> alt="">
> </map>
>
> It would work now, if the image could find the map - but your map has no
> name (and it has a src attribute which is pretty weird). But why use a

map
> at all? And why have you sliced the image up like you have?
>
>
> --
> Murray --- ICQ 71997575
> Team Macromedia Volunteer for Dreamweaver
> (If you *MUST* email me, don't LAUGH when you do so!)
> ==================
> http://www.dreamweavermx-templates.com - Template Triage!
> http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
> http://www.dwfaq.com - DW FAQs, Tutorials & Resources
> http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
> ==================
>
>
> "Libbi Bosworth" <libbi@fonicdesign.com> wrote in message
> news:dk5ls3$dqn$1@forums.macromedia.com...
target="_blank"[color=darkred]
>
>



Alper Bulu?

2005-10-31, 6:28 pm

Did you try the code above. Is it working?
Murray *TMM*

2005-10-31, 6:28 pm

> Should I have just sliced it with that one small area it's own slice then
> put a link on it.


That would work.

A hotspot *is* an image map. The way it works is the image says "use this
map" and the map says "I'm here!". In your case, the image is saying usemap
"#m_financialsuccess_r3_c3.jpg" and the map is saying NOTHING since it has a
src attribute (invalid - how did that get there?) instead of the required
name attribute (check your O'Reilly reference).

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================


"Libbi Bosworth" <libbi@fonicdesign.com> wrote in message
news:dk5pf5$ivf$1@forums.macromedia.com...
>I guess I meant a hotspot. Are you saying there's another way to do it?
> Should I have just sliced it with that one small area it's own slice then
> put a link on it. I think the lightbulb just went on. Or is it off?
>
> Libbi
>
> "Murray *TMM*" <forums@HAHAgreat-web-sights.com> wrote in message
> news:dk5mio$eph$1@forums.macromedia.com...
> map
> target="_blank"
>
>



Murray *TMM*

2005-10-31, 6:29 pm

It couldn't possibly. The image map has no name.

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================


"Alper Bulu?" <webforumsuser@macromedia.com> wrote in message
news:dk5q6k$k0c$1@forums.macromedia.com...
> Did you try the code above. Is it working?



Alper Bulu?

2005-10-31, 6:29 pm

Byt the way, Libb can I ask which application you are using to slice or create hotspot :) I am gonna beat it up.
Libbi Bosworth

2005-10-31, 6:29 pm

thanks i think i resolved it...alper, i was testing it on a desktop with
server images specifically that's why all the weird links...
libbi

murray the src was from me fiddling with it. mistake!

"Murray *TMM*" <forums@HAHAgreat-web-sights.com> wrote in message
news:dk5qmg$knc$2@forums.macromedia.com...
> It couldn't possibly. The image map has no name.
>
> --
> Murray --- ICQ 71997575
> Team Macromedia Volunteer for Dreamweaver
> (If you *MUST* email me, don't LAUGH when you do so!)
> ==================
> http://www.dreamweavermx-templates.com - Template Triage!
> http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
> http://www.dwfaq.com - DW FAQs, Tutorials & Resources
> http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
> ==================
>
>
> "Alper Bulu?" <webforumsuser@macromedia.com> wrote in message
> news:dk5q6k$k0c$1@forums.macromedia.com...
>
>



Murray *TMM*

2005-10-31, 6:29 pm

I was too polite to say so.... 8)

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================


"Libbi Bosworth" <libbi@fonicdesign.com> wrote in message
news:dk5tsd$pei$1@forums.macromedia.com...
> thanks i think i resolved it...alper, i was testing it on a desktop with
> server images specifically that's why all the weird links...
> libbi
>
> murray the src was from me fiddling with it. mistake!
>
> "Murray *TMM*" <forums@HAHAgreat-web-sights.com> wrote in message
> news:dk5qmg$knc$2@forums.macromedia.com...
>
>



Libbi Bosworth

2005-10-31, 10:22 pm

FWMX2004


"Alper Bulu?" <webforumsuser@macromedia.com> wrote in message
news:dk5sqj$nu4$1@forums.macromedia.com...
> Byt the way, Libb can I ask which application you are using to slice or

create hotspot :) I am gonna beat it up.


Murray *TMM*

2005-10-31, 10:23 pm

Why wouldn't you do that in DW?

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================


"Libbi Bosworth" <libbi@fonicdesign.com> wrote in message
news:dk69pe$cfs$1@forums.macromedia.com...
> FWMX2004
>
>
> "Alper Bulu?" <webforumsuser@macromedia.com> wrote in message
> news:dk5sqj$nu4$1@forums.macromedia.com...
> create hotspot :) I am gonna beat it up.
>
>



Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews