Image map

O

Otuatail

I have been advised on this group not to use an image map but to cut the image
up and piece it together on the web page. I am deep in a table so have pieced
the image together using
table cellpadding="0" cellspacing="0" This works but when I modify one of the
sections it breaks up


<td><A onmouseover="document.images[10].src='images/Centre_cloisters.jpg';"
onmouseout="document.images[10].src='images/Centre_cloisters.jpg';"
href="Under construction.html"><IMG
src="images/Centre_cloisters.jpg" border="0"></A>
</td>

Is this posible to correct as have 2 images images side by side on the web page
so a table seems
the best way.

Desmond.
 
J

Jukka K. Korpela

I have been advised on this group not to use an image map but to cut
the image up and piece it together on the web page.

Well, that's (almost always) wrong advice. I'm pretty sure that correct
advice has been available as well. Briefly, do not use image maps.
Use links instead, and you'll be fine. Some day you might then recognize
a rare case where an image map really makes sense and helps the user.
I am deep in a
table so have pieced the image together using
table cellpadding="0" cellspacing="0" This works

For some values of "work".
but when I modify
one of the sections it breaks up

As usual, a URL would be useful.
<td><A
onmouseover="document.images[10].src='images/Centre_cloisters.jpg';"
onmouseout="document.images[10].src='images/Centre_cloiste
rs.jpg';" href="Under construction.html"><IMG
src="images/Centre_cloisters.jpg" border="0"></A>
</td>

By accident, you probably quoted a snippet that contains a relevant
detail. You have encountered the White Space Bug. I could give a lecture
on it, or even just tell which octet needs to be deleted, but it is much
better that you just stop using an image map.
 
A

Art Sackett

Otuatail said:
I have been advised on this group not to use an image map but to cut the image
up and piece it together on the web page.

I don't watch alt.html as frequently as I used to, but that's some
poorly considered advice no matter who gave it to you. There are times
when an image map is a poor choice, there are other times when it's the
best option available.

Once upon a time, I inherited the web site of the company that used to
make the Steadicam -- if you've watched NFL football, or the behind the
scenes documentaries about moviemaking, you've probably seen Steadicams
in action. Those are the dudes that are movie cameras attached via a
steadying mechanism to a vest worn by the operator, allowing the camera
to essentially "float" rather than wiggle, wobble, and bounce around as
the operator walks, runs, jumps, and falls down. Anyway...

The client wanted to be able to offer repair parts to their customers,
who are cameramen, not mechanical engineers. Often, the customer knew
that he needed the doohickey that holds the curvy thingy on the big
flat widget, but the manuals with the assembly drawings were back in
his home office, while the customer was off and gone on some filming
location. "Doohickey" was as close as he could get to the proper
component nomenclature.

So, we simply made imagemaps of the assembly drawings, and the users
could then just click on the picture of the doohickey that holds the
curvy thing on the big flat widget and discover the pricing,
availability, and proper nomenclature for the doohickey, and then
proceed to ordering it.

We also offered ordering by part number, of course, as well as by
looking up the nomenclature in online bills of materials.

Imagine the nightmare of tabling an assembly drawing for a complex
mechanical assembly. It was never even considered an option.

Cinema Product Corp. has since gone away, and their domain and web site
were sold to some other company who, last I checked, doesn't even offer
spare parts sales online. Oh well. It was a fun project, and looked
good in the portfolio while it lasted.

Be careful about the advice you accept, even if it's mine. I could be a
clueless screwball.
 
B

brucie

in post: <
I don't watch alt.html as frequently as I used to,

just as long as you keep paying your membership fees.
but that's some poorly considered advice no matter who gave it to
you.

but... but... but... you said you'd respect me in the morning :-(
There are times when an image map is a poor choice, there are other
times when it's the best option available.

the OP wants parts of an image and the cursor to change on mouseover.
<pokes out tongue/>

(e-mail address removed)
the doohickey that holds the curvy thing on the big flat widget

i really like it when you talk dirty
I could be a clueless screwball.

we have sooo much in common <swoon/>
 
A

Art Sackett

brucie said:
just as long as you keep paying your membership fees.

I have a lifetime membership!
but... but... but... you said you'd respect me in the morning :-(

Respect and disagreement are two entirely different things. Besides, I
respected you every bit as much this morning as I did last night!
the OP wants parts of an image and the cursor to change on mouseover.
<pokes out tongue/>

Oh. That's what I get for not watching the group much. I missed the
original thread. Shame on me. I'll have to disrespect myself in the
morning.

No, not the way all of you autoerotic folks are thinking!
i really like it when you talk dirty

Have you ever known me to talk any other way? :)
we have sooo much in common <swoon/>

You poor misguided soul.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top