Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > Image map

Reply
Thread Tools

Image map

 
 
Otuatail
Guest
Posts: n/a
 
      07-09-2004
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.

 
Reply With Quote
 
 
 
 
Jukka K. Korpela
Guest
Posts: n/a
 
      07-09-2004
http://www.velocityreviews.com/forums/(E-Mail Removed) (Otuatail) wrote:

> 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.

--
Yucca, http://www.cs.tut.fi/~jkorpela/
Pages about Web authoring: http://www.cs.tut.fi/~jkorpela/www.html


 
Reply With Quote
 
 
 
 
Art Sackett
Guest
Posts: n/a
 
      07-09-2004
Otuatail <(E-Mail Removed)> wrote:
> 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.

--
Art Sackett,
Patron Saint of Drunken Fornication
 
Reply With Quote
 
brucie
Guest
Posts: n/a
 
      07-09-2004
in post: <news:(E-Mail Removed)>
Art Sackett <(E-Mail Removed)> 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,


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 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/>

--
b r u c i e


 
Reply With Quote
 
Art Sackett
Guest
Posts: n/a
 
      07-09-2004
brucie <****@usenetshit.info> wrote:

> 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?

>> I could be a clueless screwball.

>
> we have sooo much in common <swoon/>


You poor misguided soul.

--
Art Sackett,
Patron Saint of Drunken Fornication
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
std::map::find() throws exception when map is empty? Matthias Hildebrand C++ 5 03-20-2012 06:09 AM
Javascript Image Viewer from Image Map Ryan Sullivan Javascript 3 11-24-2005 09:09 AM
I can map all files (.*) to asp.net worker.How do I map NO FILE to asp.net worker? alex ASP .Net 1 02-04-2005 03:18 AM
map that maps to iterators in the same map ? Vlad C++ 0 12-15-2003 08:29 PM
image map link to show image underneath? Joe HTML 0 08-01-2003 05:18 PM



Advertisments