Image map

Discussion in 'HTML' started by Otuatail, Jul 9, 2004.

  1. Otuatail

    Otuatail Guest

    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.
     
    Otuatail, Jul 9, 2004
    #1
    1. Advertising

  2. (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
     
    Jukka K. Korpela, Jul 9, 2004
    #2
    1. Advertising

  3. Otuatail

    Art Sackett Guest

    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.


    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
     
    Art Sackett, Jul 9, 2004
    #3
  4. Otuatail

    brucie Guest

    in post: <news:>
    Art Sackett <> 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/>



    > 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
     
    brucie, Jul 9, 2004
    #4
  5. Otuatail

    Art Sackett Guest

    brucie <> 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
     
    Art Sackett, Jul 9, 2004
    #5
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. alex
    Replies:
    1
    Views:
    653
    Lau Lei Cheong
    Feb 4, 2005
  2. Joe
    Replies:
    0
    Views:
    675
  3. Matthias Hildebrand
    Replies:
    5
    Views:
    7,992
    krogers
    Mar 20, 2012
  4. Vlad
    Replies:
    0
    Views:
    366
  5. Ryan Sullivan

    Javascript Image Viewer from Image Map

    Ryan Sullivan, Feb 29, 2004, in forum: Javascript
    Replies:
    3
    Views:
    250
Loading...

Share This Page