RE: PopUp Recall
by "Brett Errington" <brett(at)opensearch.com>
|
Date: |
Fri, 20 Dec 2002 00:08:59 +0800 |
To: |
<hwg-techniques(at)hwg.org> |
In-Reply-To: |
thewebsons |
|
todo: View
Thread,
Original
|
|
Yes in the name of the popup window just set a counter or something on
the end (e.g. "MyWindow1", "MyWindow2", "MyWindowX") and you should end
up with multiple windows instead. I think this is what you were after
but I'm not quite sure. Perhaps you can post your code :)
Later,
Brett
=A0
"Ooooh..... they have the Internet on computers now"
- H. Simpson
-----Original Message-----
From: owner-hwg-techniques(at)hwg.org [mailto:owner-hwg-techniques(at)hwg.org]
On Behalf Of beno
Sent: Thursday, 19 December 2002 4:15 PM
To: hwg-techniques(at)hwg.org
Subject: PopUp Recall
(2nd time posting because it appears not to have reached the list B4.)
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=20
a pop-up window with an enlarged photo of a thumbnail image. The code=20
printed to the JavaScript is dynamically generated in the loop and is=20
correct. *However*, since the JavaScript has the same_name in all its=20
renditions, when it's activated, it calls the last dynamically generated
enlarged image, which is not necessarily the one the client cares to
see.=20
How do I keep my dynamic generation and get the correct photo to print?
Is=20
it possible to name functions differently via including an incremented=20
variable?
TIA,
beno=20
HWG hwg-techniques mailing list archives,
maintained by Webmasters @ IWA