Check out the reference:   window.open


One way it to have the JS on the same page
and have the OnClick event call the function:


function POPWin(myparam1,myparam2){
    url = "" + myparam1 + "&param2=" + myparam2;
    var newwin = window.open(url,"MyNewWindow");
}

img src="" >
something like that

-----Original Message-----
From: Robert Orlini [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 08, 2004 11:54 AM
To: CF-Talk
Subject: popup from image

I have an image named "edit" and I would like to have it generate a popup
when its clicked. I would like to pass a parameter with it as well. I've
grabbed and edited a previous script I had (see below) but before I continue
I was wondering if there were any good ideas out there please? Its all
contained in the arraytest.cfm file.

<a href="" src=""> alt="edit" border="0"></a>

<CFIF isDefined("url.edit")>
here is the _javascript_ code I need to generate a popup with the passed
parameter which corresponds to the record.
</CFIF>

Robert O.
HWW
  _____
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to