Javascript does not want to change the current location
Hi! I have the following problem: have a page that uses frames, and the frame structure is something like this: -- | topbar | |- | menu | up | | | - | | | down | - in the up frame a have something like like this: function goURL() { location.href='www.google.com'; } some link My problem is that the assignment from the goURL is not executed (the browser does not go to www.google.com). It works if I load www.google.com in all other frames, but it does not work to load it in the same frame as the link (up frame). I've tried top.main.up.location.href self.location.href .. it just does not work with the current frame. Any help appreciated. Mack __ Dedicated Windows 2000 Server PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona 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: Closing a window from JS without prompt?
Hi! As far as I know you cannot close a parent window from a child, but I think you can try something like this: 1. call setTimeout(closeFunction, 2000) 2. open the child window from the parent 3. in closeFunction you close your parent window and I think you get no confirmation promt. HTH, Mack - Original Message - From: "Shawn Grover" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Wednesday, February 27, 2002 11:04 AM Subject: OT: Closing a window from JS without prompt? > I'm looking for ideas on how to close a Parent window from Javascript > without getting the confirmation prompt. > We don't have an issue with any child windows, but we open an interface to > our app then want to close the original window without the prompt. > > Any tips? Thanks in advance. > > Shawn Grover > __ Why Share? Dedicated Win 2000 Server · PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc 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: What is webroot\main\ide.cfm
Actually it should be in the cfide directory, because CF Studio searches there. The one from the root directory is useless, AFAIK. Mack. - Original Message - From: "Jeffry Houser" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Sunday, February 24, 2002 8:18 AM Subject: Re: What is webroot\main\ide.cfm > Much thanks! > > Should the file be in the root directory or the cfide directory? ( It is > > in both ) > > At 03:04 PM 02/24/2002 -0800, you wrote: > > That file is used by the RDS from the CF Studio to cummunicate with > the > >CF Server. > > > > Mack > > > >- Original Message - > >From: "Jeffry Houser" <[EMAIL PROTECTED]> > >To: "CF-Talk" <[EMAIL PROTECTED]> > >Sent: Sunday, February 24, 2002 4:55 AM > >Subject: What is webroot\main\ide.cfm > > > > > > > What is webroot\main\ide.cfm . I found it in my web directory, and I > > > didn't explicitly put it there, so I figure that it must have been done > > > during the ColdFusion 5 install. A google search on the filename > reveals > > > tons of pages.. ( ?) > > > > > > The text of the page is a simple HTML page, no body just a head with > the > > > title text "IDE Interface Base Page" . > > > > > > > > > -- > > > Jeffry Houser | mailto:[EMAIL PROTECTED] > > > Need a Web Developer? Contact me! > > > AIM: Reboog711 | Fax / Phone: 860-223-7946 > > > -- > > > My Books: http://www.instantcoldfusion.com > > > My Band: http://www.farcryfly.com > > > > > > __ Dedicated Windows 2000 Server PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona 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: What is webroot\main\ide.cfm
That file is used by the RDS from the CF Studio to cummunicate with the CF Server. Mack - Original Message - From: "Jeffry Houser" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Sunday, February 24, 2002 4:55 AM Subject: What is webroot\main\ide.cfm > What is webroot\main\ide.cfm . I found it in my web directory, and I > didn't explicitly put it there, so I figure that it must have been done > during the ColdFusion 5 install. A google search on the filename reveals > tons of pages.. ( ?) > > The text of the page is a simple HTML page, no body just a head with the > title text "IDE Interface Base Page" . > > > -- > Jeffry Houser | mailto:[EMAIL PROTECTED] > Need a Web Developer? Contact me! > AIM: Reboog711 | Fax / Phone: 860-223-7946 > -- > My Books: http://www.instantcoldfusion.com > My Band: http://www.farcryfly.com > __ Why Share? Dedicated Win 2000 Server · PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc 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
Server does not want to restart
Hi! I'm having the following problem: from time to time the ColdFusion server stops and refuses to start. It has to be manually restarted or something even tweaked a little (pids files need to be removed). In the application.log appear records like the ones below. And also the application.log file get's a lot of this records and grows very quickly. "Warning","2051","02/22/02","22:09:38",,"In a CF_TagName construct custom tag file '/var/www/virtual/html/_admin/app_locals.cfm' will occlude custom tag file '/var/www/virtual/html/expomart/newyork/app_locals.cfm'." "Warning","2051","02/22/02","22:09:38",,"In a CF_TagName construct custom tag file '/var/www/virtual/html/_admin/contact/add_ff/act_process.cfm' will occlude custom tag file '/var/www/virtual/html/expomart/newyork/registration/act_process.cfm'." "Warning","2051","02/22/02","22:09:38",,"In a CF_TagName construct custom tag file '/var/www/virtual/html/_admin/contact/add_ff/act_verify.cfm' will occlude custom tag file '/var/www/virtual/html/expomart/newyork/registration/act_verify.cfm'." " TIA, Mack. __ Why Share? Dedicated Win 2000 Server · PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc 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: Query a query by months
Hi! I think that ColdFusion server does not have the Month function implemented in it's SQL processor (because the query get's processed by CF and never goes to your database server). When you put the pound signs around Month then CF treats it like a function and evaluates it's result once before he sends the resulted text to the SQL processing part. One solution will be that you go throught the query by hand (with query_name.query_field[Row]) and construct the result query. Mack. - Original Message - From: "Tim" <[EMAIL PROTECTED]> Newsgroups: cf-talk Sent: Wednesday, February 20, 2002 11:48 AM Subject: Query a query by months > I am trying to query a query and process the records > by month. My code is: > > > 0> > > SELECT * > FROM qGetResults > WHERE (Month(qGetResults.Rundate) = #cnt#) > > > > > > My problems are with the WHERE statement. If I do > WHERE #Month(qGetResults.RunDate)# = #cnt#, it > interprets the data as a variable (1 = 1, 1 = 2, etc) > and retirns all records when true (1 = 1). If I leave > the pound signs off, I get errors. > __ Why Share? Dedicated Win 2000 Server · PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc 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: ANother CFDirectory question
> -Original Message- > From: Tony Gruen [mailto:[EMAIL PROTECTED]] > Sent: Sunday, January 13, 2002 1:12 AM > To: CF-Talk > Subject: RE: ANother CFDirectory question > > > I got around the pointers using the following code you have to think > about the anticipated file naming conventions in regards to the > test length. > > > ...show name... Maybe you should take into account that on Linux a filename can be less thatn 5 characters (because there is no extension). And even on Win based OS you can still have a filename shorter than 5 characters. I think that the following code is more appropriate: ..#name#... we have a false directory Mack. > > Tony > > -Original Message- > From: Bruce Sorge [mailto:[EMAIL PROTECTED]] > Sent: Saturday, January 12, 2002 3:04 PM > To: CF-Talk > Subject: Re: ANother CFDirectory question > > > Ahh. Makes sense. So I will just have to account for that then. Thanks. > > - Original Message - > From: "Macarie Neculai" <[EMAIL PROTECTED]> > To: "CF-Talk" <[EMAIL PROTECTED]> > Sent: Saturday, January 12, 2002 5:00 PM > Subject: RE: ANother CFDirectory question > > > > Yes, this is normal. The first period is a "pointer" to the directory > > himself, the ".." directory represents the parent directory. > > > > Mack. > > > > > > > > OK, > > > I have another question about CFDirectory. When I output the names of > > > the files, I am seeing three things that are not right. The first file > > > is a period, and the next one is two periods. I am also seeing a file > > > called Thumbs.db. Is this normal? > > > > > > Thanks __ Why Share? Dedicated Win 2000 Server · PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc 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: ANother CFDirectory question
Yes, this is normal. The first period is a "pointer" to the directory himself, the ".." directory represents the parent directory. Mack. > > OK, > I have another question about CFDirectory. When I output the names of > the files, I am seeing three things that are not right. The first file > is a period, and the next one is two periods. I am also seeing a file > called Thumbs.db. Is this normal? > > Thanks > _ > Bruce Sorge > ICQ#:145050973 > Current ICQ status: > > SMS: (Send an SMS message to my ICQ): +2783142145050973 > More ways to contact me: http://wwp.icq.com/145050973 > _ > __ Dedicated Windows 2000 Server PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona 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
Diffeerent error page displayed in IE with debug and without
Hi! I have the following error monitor: and in the first line of this file I disable the debug output: But: in IE5.0 if I do not show the debug output the browser displays his own error handler: "The page cannot be displayed.". When I turn the debug on the page displays correctly only if I am in the list of Debug IP's. Otherwise it displays the same error handler from the browser. I examined the packets received in each case and they are identical (except for the debug info at the bottom of the page with debug on). Is there something I'm missing about displaying errors in IE? TIA, Mack. _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com __ Dedicated Windows 2000 Server PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona 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: Using cffile to append to a text file
Hi! You can insert the TAB character chr(9): #column1##Chr(9)##column2##Chr(9)#. or use the Left function: Fist column Second column Third column ... #Chr(13)##Chr(10)# #Left(column1, 20)# #Left(column2,20)# #Left(column3,20)# #Chr(13)##Chr(10)# Put all this into a variable and then append it to the file. > > I am using to append text to a text file from > a form. I know to use (chr10) and (chr13) for line > breaks and carriage returns, but what do I use to > creats spaces between the fields and to tab over? Mack. _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com __ Dedicated Windows 2000 Server PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona 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: what is going on??
> > Your account's username and password were sent to query="getinfo">#ContactName# at #ContactEmail#. > Did you check the number of records returned by the query? If the number of records is 0 then the CFOUTPUT block will not be displayed. Mack. ~~ 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: Text insert and line feeds problem
Dear Ryan, On Linux the line feed is composed not of the Chr(13) and Chr(10) but only of the Chr(10). So on Linux you should replace the Chr(10) with a "". Your code strips the Chr(10), but there is no Chr(13) to be replaced. So here is a solution: ", "all")> Mack. > > I am doing an insert on a variable called report_body where I do a > > > "", "all")> > > do insert > > > > Then when the page reloads I fill in the form fields with the values > replaced back > > ", chr(13), all)> > #newReportBody# > > But it doesn't put in the line feeds for Unix/Netscape. > Can anyone tell me what I should be replacing for line feeds in unix ~~ 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