RE: Cflocation and pop up challenge

2002-08-30 Thread Kodjo Ackah
This is my code on the page in quetsion: cfif isDefined('session.client_id') script language=JavaScript Function('popUp'); /script /cfif And this is my code in the head tags: function popUp(URL) { day = new Date(); id = day.getTime(); eval(page + id + = window.open(URL, ' +

Re: Cflocation and pop up challenge

2002-08-29 Thread Charlie Griefer
- Original Message - From: Kodjo Ackah [EMAIL PROTECTED] Can I do this? cfif NOT IsDefined('session.client_id') cflocation url=javascript:popUpb('home_login.cfm') cfabort /cfif wow. deja vu all over again. did you, perhaps try: cfif NOT isDefined('session.client_id')

RE: Cflocation and pop up challenge

2002-08-29 Thread Kodjo Ackah
Charlie What was your reply? Kodjo ackah Principal Consultant concrete-media.com __ Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics.

Re: Cflocation and pop up challenge

2002-08-29 Thread charlie griefer
Kodjo Ackah writes: Charlie What was your reply? my reply (third time in two day) :) was call the function from within the conditional...NOT using cflocation cfif isDefined('foo') script language=JavaScript myFunction('blah'); /script /cfif so you have myFuntion()

RE: Cflocation and pop up challenge

2002-08-29 Thread Scott Van Vliet
Try: cfif not isDefined(session.client_id) cfhtmlhead text= script language=Javascript !-- window.popUpb(home_login.cfm); //-- /script / /cfif Note that this may bot work in NN, so you might try window.onload = popUpb, etc. Scott