|
Hi LadynRed, thanks for the reply.
Doctype? HTML, No idea why would that matter?
I pasted my code below, check out.
In the meanwhile - No denial, it works in IE, but it stops working once I need two images side by side. Check for yourself!
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<style type="text/css">
.image {position:relative;}
.image a img {border:0; z-index:-1;}
.image a.small:hover {text-decoration:none; border:0px; z-index:-1;}
.image a .large {display:block; position:absolute; visibility:hidden; z-index:100;}
.image a.small:hover .large {display:block; position:absolute; top:20px; left:50px; visibility:visible; padding:5px; background-color:lightyellow;
border:1px dashed gray; z-index:100;}
</style>
</head>
<body>
<h2>MAGNIFY IMAGE</h2>
<table>
<tr>
<td>
<div class="image">
<a class="small" href="#nogo" title="thumbnail image">
<img src="http://www.eurexpress.org/euximages/getImage?image=euxassay_000543_02.jpg&s=tb" title="Thumbnail image" alt="Thumbnail image" />
<img class="large" src="http://www.eurexpress.org/euximages/getImage?image=euxassay_000543_02.jpg&scale=15" title="Enlarged view of image" alt="Enlarged view of image" /></a>
</div>
</td>
<td>
<div class="image">
<a class="small" href="#nogo" title="thumbnail image">
<img src="http://www.eurexpress.org/euximages/getImage?image=euxassay_000543_02.jpg&s=tb" title="Thumbnail image" alt="Thumbnail image" />
<img class="large" src="http://www.eurexpress.org/euximages/getImage?image=euxassay_000543_02.jpg&scale=15" title="Enlarged view of image" alt="Enlarged view of image" /></a>
</div>
</td>
</TR>
</table>
</body>
</html>
|