- For individual users
- Instant access to solutions
- Ask your tech questions
- Start your 30-day Free Trial
Main Topics
Browse All TopicsHi all,
I have a bunch of images in different categories which I want to display on my webpage. What I want is from each category a representative image is displayed initially on the screen. When you rollover the mouse on each image, the rest of the images from that category should appear in a thumbnail format on a predefined area (either a table or a div). When you click on each image then a window popup should display the enlarged image on each thumbnail. I have been able to display the thumbnails besides each image albeit with some inefficient coding but am unable to display dynamically the popup window. Can anybody help me on this? I have pasted the code which I have used below:
<html>
<head>
<title></title>
<
<style type="text/css">
<!--
#images { padding-left:10px; padding-right: 10px; padding-top:10px; padding-bottom: 10px ; float:left; margin-right: 50px}
#thumbnail {padding-left:10px; padding-right: 10px; padding-top:10px; padding-bottom: 10px ; }
-->
</style>
<script language="JavaScript" type="text/JavaScript">
<!--
function thumbnailsview() {
var the_images = new Array('images/cushioncover
'images/cushioncover/KECC_
'images/cushioncover/KECC_
for(var i=0; i<the_images.length; i++) {
var the_image_object = eval("window.document.imag
the_image_object.src = the_images[i];
}
function popWin(img_number) {
var the_images = new Array('images/cushioncover
'images/cushioncover/KECC_
'images/cushioncover/KECC_
window.open(the_images[img
}
}
//-->
</script>
<div id="images">
<a href="#" onMouseOver="thumbnailsvie
</div>
<div id ="thumbnail">
<a href="#" onClick="popWin(0);"><img src="images/spacer.gif" height="80" name="image0" border="0" style="position:relative; left: 10px; top: 20px"> </a>
<a href="#" onClick="popWin(1);"><img src="images/spacer.gif" height="80" name="image1" border="0" style="position:relative; left: 10px; top: 20px"> </a>
<a href="#" onClick="popWin(2);"><img src="images/spacer.gif" height="80" name="image2" border="0" style="position:relative; left: 10px; top: 20px"> </a>
<a href="#" onClick="popWin(3);"><img src="images/spacer.gif" height="80" name="image3" border="0" style="position:relative; left: 10px; top: 20px"></a>
<a href="#" onClick="popWin(4);"><img src="images/spacer.gif" height="80" name="image4" border="0" style="position:relative; left: 10px; top: 20px"></a>
<a href="#" onClick="popWin(5);"><img src="images/spacer.gif" height="80" name="image5" border="0" style="position:relative; left: 10px; top: 20px"> </a>
<a href="#" onClick="popWin(6);"><img src="images/spacer.gif" height="80" name="image6" border="0" style="position:relative; left: 10px; top: 20px"></a>
<a href="#" onClick="popWin(7);"><img src="images/spacer.gif" height="80" name="image7" border="0" style="position:relative; left: 10px; top: 20px"> </a>
<a href="#" onClick="popWin(8);"> <img src="images/spacer.gif" height="80" name="image8" border="0" style="position:relative; left: 10px; top: 20px"> </a>
<a href="#" onClick="popWin(9);"><img src="images/spacer.gif" height="80" name="image9" border="0" style="position:relative; left: 10px; top: 20px"> </a>
<a href="#" onClick="popWin(10);"><img
<a href="#" onClick="popWin(11);"><img
</div>
</body>
</html>
This question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Business Accounts
Answer for Membership