Guest_imported
New member
- Jan 1, 1970
- 0
When someone clicks on a thumbnail, I've succeeded in writing the Javascript to make a window pop up with an enlarged view of the product (ski poles if it matters), along with a close window button in the pop up window. However, I want to make just one html page with javascript in it to display the enlarged thumbnail that was clicked. I have
<A HREF="javascript:newWindow('bigpoles.html')" onClick="pole=2038;"><img src="../images/2038_thumb.gif" width="60" height="216" border="0"></a> on the thumbnail page, and <script language="JavaScript">
<!-- hide from older browsers
document.writeIn(<img src="../images/"+pole+".gif" width="125" height="550" usemap="#Map" border="0"><map name="Map"><area shape="rect" coords="101,227,122,373" href="JavaScript: self.close()"></map>)
</script> on the enlarge pop-up window. This however doesn't work. What am I doing wrong?
<A HREF="javascript:newWindow('bigpoles.html')" onClick="pole=2038;"><img src="../images/2038_thumb.gif" width="60" height="216" border="0"></a> on the thumbnail page, and <script language="JavaScript">
<!-- hide from older browsers
document.writeIn(<img src="../images/"+pole+".gif" width="125" height="550" usemap="#Map" border="0"><map name="Map"><area shape="rect" coords="101,227,122,373" href="JavaScript: self.close()"></map>)
</script> on the enlarge pop-up window. This however doesn't work. What am I doing wrong?