image map

Discussion in 'HTML' started by Yang Li Ke, Mar 9, 2006.

  1. Yang Li Ke

    Yang Li Ke Guest

    Hi everyone.
    Anyone can tell me if this is possible to use an image map link like:

    <img src="pictures/2.jpg" usemap="#Map">
    <map name="Map" id="Map">
    <area shape='rect' coords='1,1,33,33' href='#' />
    <area shape="rect" coords="40,8,77,48" href="#" />
    </map>


    but on mouse over the image the square would be blue just like

    a.thumb:hover img
    {
    border: 1px dashed #FFFFFF;
    }


    a.thumb img
    {
    border: 1px solid #C0DEEF;
    }


    At last. I just want to be able to view a square over the picture
    everywhere I move the mouse so that I can see the link.

    Thank you
     
    Yang Li Ke, Mar 9, 2006
    #1
    1. Advertising

  2. Yang Li Ke

    mbstevens Guest

    Yang Li Ke wrote:
    > Hi everyone.
    > Anyone can tell me if this is possible to use an image map link like:
    >
    > <img src="pictures/2.jpg" usemap="#Map">
    > <map name="Map" id="Map">
    > <area shape='rect' coords='1,1,33,33' href='#' />
    > <area shape="rect" coords="40,8,77,48" href="#" />
    > </map>
    >
    >
    > but on mouse over the image the square would be blue just like
    >
    > a.thumb:hover img
    > {
    > border: 1px dashed #FFFFFF;
    > }
    >
    >
    > a.thumb img
    > {
    > border: 1px solid #C0DEEF;
    > }
    >
    >
    > At last. I just want to be able to view a square over the picture
    > everywhere I move the mouse so that I can see the link.
    >
    > Thank you
    >
    >


    After reading:
    http://www.alistapart.com/articles/imagemap/

    ....you may be able to find a way to do what you want.
    Basically you can modify the visibility of objects on
    hover using CSS.
     
    mbstevens, Mar 9, 2006
    #2
    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:
    651
    Lau Lei Cheong
    Feb 4, 2005
  2. Joe
    Replies:
    0
    Views:
    674
  3. Matthias Hildebrand
    Replies:
    5
    Views:
    7,982
    krogers
    Mar 20, 2012
  4. Vlad
    Replies:
    0
    Views:
    362
  5. Ryan Sullivan

    Javascript Image Viewer from Image Map

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

Share This Page