Re: Cflocation and a popup
Kodjo Ackah writes: > No joy to this either! > > > > 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=#11');"); > } > > > > > Well, there wouldn't be any joy to that, since you're just declaring the function...you're not calling it. Put the function back up in the the way you had it (i presume). Inside of your , just make a call to the function function popUpb('blahblah.cfm'); that will work. charlie > 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/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Cflocation and a popup
Kodjo Ackah writes: > Can I do this? > > > > > > why not do: popUpb('home.login.cfm'); what advantage to you see of using to launch the function? charlie > > It doesn't work though! > > Don't worry - I have a function in my head tags within my top element > page. > > 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. http://www.fusionauthority.com/signup.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Cflocation and a popup
> Isaac, > this did not work - cfabort makes it all go blank! View the source on the page and make sure that your
RE: Cflocation and a popup
right, there wouldn't be. you call the function at this point, not define it. 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=#11');"); } ... ... popUpb('www.foo.com'); -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! 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=#11');"); } 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/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Cflocation and a popup
that's cos you're doing it wrong! u need home_login.cfm to be a text and where di the variable ID from from? where was it defined? -Original Message- From: Kodjo Ackah [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 28, 2002 12:49 PM To: CF-Talk Subject: RE: Cflocation and a popup No joy to this either! 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=#11');"); } Kodjo ackah Principal Consultant concrete-media.com __ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Cflocation and a popup
Isaac, this did not work - cfabort makes it all go blank! 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/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Cflocation and a popup
No joy to this either! 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=#11');"); } Kodjo ackah Principal Consultant concrete-media.com __ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Cflocation and a popup
No joy to dropping the cfabort 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. http://www.fusionauthority.com/signup.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Cflocation and a popup
> Can I do this? > > > > > It doesn't work though! > Don't worry - I have a function in my head tags within my top element > page. M... nope, I wouldn't expect that to work and here's why: actually is a shortcut for a particular tag, so it redirects to the next page by manipulating the http header information for the current request. There is however no communication ( that I'm aware of ) between the http headers for a given request and javascript on the page... So, the way to get this to work the way you would like it to is to eliminate the and use a slightly different syntax. popUpb('home_login.cfm'); I won't get into specifics about how this technically ought to be inside the tags or how it's probably better to associate it with the window.onload event either in the body tag or by setting the event to your function... this syntax should work for all intents and purposes on most browsers. hth Isaac Dealey Certified Advanced ColdFusion 5 Developer www.turnkey.to 954-776-0046 __ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Cflocation and a popup
The abort is probably giving you fits ... remove it and try it out! Paul Giesenhagen QuillDesign - Original Message - From: "Kodjo Ackah" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Wednesday, August 28, 2002 12:18 PM Subject: Cflocation and a popup > Can I do this? > > > > > It doesn't work though! > > Don't worry - I have a function in my head tags within my top element > page. > > 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/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Cflocation and a popup
actually, this would work function pupUpb() blah blah blah; it runs the script right in there :) -Original Message- From: Kodjo Ackah [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 28, 2002 12:18 PM To: CF-Talk Subject: Cflocation and a popup Can I do this? It doesn't work though! Don't worry - I have a function in my head tags within my top element page. Kodjo ackah Principal Consultant concrete-media.com __ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists