Try this out (* are added lines and ... are removed code for readability):
script language=JavaScript
!--
*1* var winCount = 0;
function OpenWindow(strURL, strTitle, intWidth, intHeight)
{
...
*2* strTitle += winCount;
call the OpenWindow function with at timestamp as the title
openWindow(strURL, new Date(), intWidth, intHeight);
Ray Bujarski [EMAIL PROTECTED] on 03/15/2002 12:41:14 PM
Please respond to [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
cc:
Subject: OT New window
I am using the
You need a new name for the window, so add an instance variable and append
it's value to strTitle.
I added to the code below.
Greg Alton
CFDev
I am using the following code to open a new window. However when one
window has already been spawned from the opener, any more new windows
simply
Simple is beautiful! Great idea!
Greg Alton
CFDev
- Original Message -
From: [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Friday, March 15, 2002 1:50 PM
Subject: Re: OT New window
call the OpenWindow function with at timestamp as the title
openWindow(strURL, new Date
BODY onLoad=window.focus()
Dave
- Original Message -
From: Bryan Stevenson [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Friday, March 15, 2002 1:59 PM
Subject: Re: OT New window
On this line of pop-ups.
I'm looking for code to always keep the window on top without
simple. just like me. :P
Greg Alton [EMAIL PROTECTED] on 03/15/2002 01:17:52 PM
Please respond to [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
cc:
Subject: Re: OT New window
Simple is beautiful! Great idea!
Greg Alton
CFDev
- Original Message -
From: [EMAIL PROTECTED
call the OpenWindow function with at timestamp as the title
openWindow(strURL, new Date(), intWidth, intHeight);
As a solution to always open a new window, that's actually a bad idea.
Much better to use '_blank' as the window name, which is treated just like
a target attribute of _blank in
]
To: CF-Talk [EMAIL PROTECTED]
Sent: Friday, March 15, 2002 11:42 AM
Subject: Re: OT New window
That does not cause the window to refresh. That just brings it to the front
when it loads.
Dave
- Original Message -
From: Bryan Stevenson [EMAIL PROTECTED]
To: CF-Talk [EMAIL
8 matches
Mail list logo