Forum Moderators: open
<html>
<body>
<div>
<iframe src="image1.jpg" width="448" height="336" name="iframe_a">
</iframe>
</div>
<br>
<div>
<a href="image1.jpg" target ="iframe_a"><img src="image1.jpg" width="80" height="60"></a>
<a href="image2.jpg" target ="iframe_a"><img src="image2.jpg" width="80" height="60"></a>
<a href="image3.jpg" target ="iframe_a"><img src="image3.jpg" width="80" height="60"></a>
</div>
</body>
</html> [edited by: incrediBILL at 3:33 pm (utc) on Mar 26, 2010]
[edit reason] removed specifics, see TOS #13 [webmasterworld.com...] [/edit]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="language" content="english">
<meta http-equiv="Content-Style-Type" content="text/css">
<title></title>
<style type="text/css">
iframe {
width:448px;
height:336px;
}
#links {
margin-top:18px;
}
#links a {
margin-right:12px;
}
#links a img {
width:80px;
height:60px;
}
</style>
<body>
<div>
<iframe src="[blue]image1.html[/blue]" name="iframe_a"></iframe>
</div>
<div id="links">
<a href="[blue]image1.html[/blue]" target ="iframe_a"><img src="image1.jpg" alt=""></a>
<a href="[blue]image2.html[/blue]" target ="iframe_a"><img src="image2.jpg" alt=""></a>
<a href="[blue]image3.html[/blue]" target ="iframe_a"><img src="image3.jpg" alt=""></a>
</div>
</body>
</html>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="language" content="english">
<meta http-equiv="Content-Style-Type" content="text/css">
<title></title>
<style type="text/css">
body {
padding:0;
margin:0;
}
img {
display:block;
width:448px;
height:336px;
}
</style>
</head>
<body>
<div>
<img src="image1.jpg" alt="">
</div>
</body>
</html>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="language" content="english">
<meta http-equiv="Content-Style-Type" content="text/css">
<title></title>
<style type="text/css">
body {
padding:0;
margin:18px 0 0 24px;
}
img {
display:block;
width:400px;
height:300px;
}
</style>
</head>
<body>
<div>
<img src="image2.jpg" alt="">
</div>
</body>
</html>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="language" content="english">
<meta http-equiv="Content-Style-Type" content="text/css">
<title></title>
<style type="text/css">
body {
padding:0;
margin:68px 0 0 74px;
}
img {
display:block;
width:300px;
height:200px;
}
</style>
</head>
<body>
<div>
<img src="image3.jpg" alt="">
</div>
</body>
</html>
...but I can't create a single page for each image.
<a href="showpic.php?pic=image1.jpg" target="iframe_a"><img src="image1.jpg" alt=""></a>
<a href="showpic.php?pic=image1.jpg" target="iframe_a"><img src="image2.jpg" alt=""></a>
<a href="showpic.php?pic=image1.jpg" target="iframe_a"><img src="image3.jpg" alt=""></a>