right, there wouldn't be. you call the function at this point, not define
it.
<HEAD>
<script language=javascript>
function popUpb(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(home_login.cfm, '" + id + "',
'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,wid
th=580,height=580,bgcolor=#111111');");
}
</script>
</HEAD>
...
...
<cfif NOT IsDefined('session.client_id')>
<SCRIPT>
popUpb('www.foo.com');
</SCRIPT>
</CFIF>
-----Original Message-----
From: Kodjo Ackah [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 28, 2002 1:49 PM
To: CF-Talk
Subject: RE: Cflocation and a popup
No joy to this either!
<cfif NOT IsDefined('session.client_id')>
<script language=javascript>
function popUpb(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(home_login.cfm, '" + id + "',
'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,wid
th=580,height=580,bgcolor=#111111');");
}
</script>
</cfif>
Kodjo ackah
Principal Consultant
concrete-media.com
______________________________________________________________________
This list and all House of Fusion resources hosted by CFHosting.com. The place for
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists