Vanilla 1.1.9 is a product of Lussumo. More Information: Documentation, Community Support.

<div style="width:100px; height:100px; position:absolute; z-index:0;">
<a href="http://www.yahoo.com"><img src="1.gif" alt="image1" border="0" /></a>
<div style="width:21px; height:21px; right:2px; bottom:2px; position:absolute; z-index:10">
<a href="http://www.google.com"><img src="2.gif" alt="image2" border="0" /></a>
</div>
</div>First, at least some versions of IE only recognize the hover state on link objects, so your container object will need to be a link. It looks like your images are 100 pixels square, and your overlays are 21 pixels square. Here's what I'm thinking:
<a class="hoverImage" href="#">
<img class="normal" src="/images/normal.jpg" />
<a class="overlay"><img src="/images/somethingElse.jpg" /></a>
</a>Then, here's the CSS:a.hoverImage {
display: block;
width: 100px;
height: 100px;
}
a.hoverImage img.normal {
width: 100px;
height: 100px;
display: block;
}
a.hoverImage a.overlay {
display: none;
width: 21px;
height: 21px;
position: absolute;
right: 0;
bottom: 0;
}
a.hoverImage:hover a.overlay {
display: block;
}
a.hoverImage a.overlay img {
display: block;
width: 21px;
height: 21px;
}
<style type="text/css">
.imagelinkouter {
position: absolute;
left: 100px;
top: 100px;
}
.imagelinkimage {
position: absolute;
left: 0px; top: 0px;
z-index: 1;
}
.imagelinklink{
position: absolute;
left: 0px; top: 0px;
width: 300px; height: 300px;
z-index: 2;
}
.imagelinklink:hover{
background: url(imagelink.png) bottom right no-repeat;
}
</style>
</head>
<body>
<div class="imagelinkouter">
<a href="#" class="imagelinklink"></a>
<img src="image.gif" width="300" height="300" class="imagelinkimage" />
</div>
</body>
<html>
<head>
<style>
body { text-align:left; background:black; }
img { border:none; padding:0; margin:0; }
#container
{
width:480px; /* Width of image */
height:272px; /* Height of image */
padding:0px;
overflow:hidden;
}
img.image
{
margin:0px;
padding:0px;
}
a:hover img.image
{
cursor:pointer;
margin-bottom:-32px;
*margin-bottom:-36px;
}
img.play
{
text-align:right;
position:relative;
top:0px;
float:right;
margin-right:3px;
}
a:hover img.play
{
cursor:pointer;
top:-32px;
*top:-36px;
}
</style>
</head>
<body>
<div id='container'>
<a href='?phpMyAdmin=4594f30712f4fabaff6997416810f3f2#'><img class='image' src='image.jpg'></a>
<a href='?phpMyAdmin=4594f30712f4fabaff6997416810f3f2#'><img class='play' src='play.jpg'></a>
</div>
</body>
</html>
<a href="#"><img src="path/to/image" alt="image" /><span></span></a>
<div class="container">
<a href="#"><img class="hardlink" img src="image1.jpg" ></a>
<a href="#"><img class="play" src="image2.jpg" ></a>
</div>the css: .container{float:left; line-height:25px; margin:3px; width:186px; height:126px; overflow:hidden}
a img.hardlink{overflow:hidden; border:solid 3px #dbdbdb}
a:hover img.hardlink{margin-bottom:-39px; border:3px solid #919191}
img.play{text-align:right; position:relative; top:0px; float:right; right:3px}
a:hover img.play{top:-39px}Any suggestions?????
1 to 19 of 19