PopUp Recall
by beno <lists(at)TheWebsons.com>
|
Date: |
Wed, 18 Dec 2002 13:56:38 -0400 |
To: |
hwg-techniques(at)hwg.org |
|
todo: View
Thread,
Original
|
|
Hi;
I have a PHP script that prints x number of products and related code to
the generated HTML page. In that repeated code is a JavaScript that enables
a pop-up window with an enlarged photo of a thumbnail image. The code
printed to the JavaScript is dynamically generated in the loop and is
correct. *However*, since the JavaScript has the same_name in all its
renditions, when it's activated, it calls the last dynamically generated
enlarged image, which is not necessarily the one the client cares to see.
How do I keep my dynamic generation and get the correct photo to print? Is
it possible to name functions differently via including an incremented
variable?
TIA,
beno
HWG hwg-techniques mailing list archives,
maintained by Webmasters @ IWA