image map

Y

Yang Li Ke

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
 
M

mbstevens

Yang said:
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.
 

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,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top