Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Please help me build a thumbnail catalogue.

Status
Not open for further replies.

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=&quot;javascript:newWindow('bigpoles.html')&quot; onClick=&quot;pole=2038;&quot;><img src=&quot;../images/2038_thumb.gif&quot; width=&quot;60&quot; height=&quot;216&quot; border=&quot;0&quot;></a> on the thumbnail page, and <script language=&quot;JavaScript&quot;>
<!-- hide from older browsers
document.writeIn(<img src=&quot;../images/&quot;+pole+&quot;.gif&quot; width=&quot;125&quot; height=&quot;550&quot; usemap=&quot;#Map&quot; border=&quot;0&quot;><map name=&quot;Map&quot;><area shape=&quot;rect&quot; coords=&quot;101,227,122,373&quot; href=&quot;JavaScript: self.close()&quot;></map>)
</script> on the enlarge pop-up window. This however doesn't work. What am I doing wrong?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top