It appears to (somewhat) work from what I see. It opens the new window sized and everything, it just takes the parent window to the getUrl() string. I'm digging trying to figure out how to stop the parent window from redirecting. I'll let you know if I find anything.
ps, yeah, I think it is getURL() ..:.:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -----Original Message----- From: dave [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 16, 2005 8:02 PM To: CF-Talk Subject: RE: cfform popup thanks again for your time and efforts Bobby. However I still get the error, Laura at asfusion noted that get Url Needs to be getURL but that still doesnt work. http://65.36.226.10/testimonials/pro/search.cfm ~Dave the disruptor~ good sites - make money getting rid of ie :) http://explorerdestroyer.com/ http://www.killbillsbrowser.com/ ---------------------------------------- From: "Bobby Hartsfield" <[EMAIL PROTECTED]> Sent: Wednesday, November 16, 2005 7:51 PM To: CF-Talk <[email protected]> Subject: RE: cfform popup Well, I finally got access to a server that didn't tell me that 'onchange' was a bad attribute of cfgrid but it will only display a Java applet grid... yay... But I did have to clean up the syntax to get that far. This worked.... Onchange="getUrl(""javascript:NewWindow=window.open('profile.cfm','Title','w idth=400,height=400,left=0,top=0,toolbar=No,location=No,scrollbars=No,status =No,resizable=No,fullscreen=No');"")" notice its just double-double quotes to escape them inside the onchange="" That should get you past the syntax error I see when I hit that url now. I really didn't feel like building an elaborate query for it so I just made a quick small one ... querynew("staff,staffed") and looped some junk inot it 10 times. When you get past the syntax errors, let me know if something else catches you. Maybe Ill have a server straightened out by then (hell... maybe ill set up 7 on my laptop) ....:.:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -----Original Message----- From: Bobby Hartsfield [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 16, 2005 12:34 PM To: CF-Talk Subject: RE: cfform popup I'll have to try it out later tonight when I have access to a different server with cfgrid and can actually see it working (or not working). Until then... try a simpler window to track down any syntax errors getUrl("javascript:NewWindow=window.open('somepage.cfm','Title','width=400,h eight=400,left=0,top=0,toolbar=No,location=No,scrollbars=No,status=No,resiza ble=No,fullscreen=No');") You might also try jsstringformatting everything in the geturl() and see what that yields. .....:.:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -----Original Message----- From: dave [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 16, 2005 12:21 AM To: CF-Talk Subject: RE: cfform popup thanks for taking the time Bobby here is url http://65.36.226.10/testimonials/pro/search2.cfm no matter what I try on any of these the error is here window.open(<---------- that bracket is always the cause I did find an open brack and a misspelling but i cant get the damn thing! current code query="prostaff" rowheaders="no" height="200" ---> onchange="getUrl("javascript:NewWindow=window.open('profile.cfm?ProStaffID=' + 'showprostaff.dataProvider[showprostaff.selectedIndex]['ProStaffID']','Title ','width=400,height=400,left=0,top=0,toolbar=No,location=No,scrollbars=No,st atus=No,resizable=No,fullscreen=No');")"> this is what its supposed to be http://65.36.226.10/testimonials/pro/search.cfm but when u select a grid row I want a popup so the user doesnt have to go back and do the whole thing over everytime. ~Dave the disruptor~ good sites - make money getting rid of ie :) http://explorerdestroyer.com/ http://www.killbillsbrowser.com/ ---------------------------------------- From: "Bobby Hartsfield" Sent: Wednesday, November 16, 2005 12:02 AM To: CF-Talk Subject: RE: cfform popup At a glance continued.... ['ProStaffID'] Try escaping those single quotes if that's where line 93 col 68 is .......:.:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -----Original Message----- From: dave [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 15, 2005 6:08 PM To: CF-Talk Subject: RE: cfform popup Thanks Bobby but that throws an error. Invalid token ''' found on line 93 at column 68. ~Dave the disruptor~ good sites - make money getting rid of ie :) http://explorerdestroyer.com/ http://www.killbillsbrowser.com/ ---------------------------------------- From: "Bobby Hartsfield" Sent: Tuesday, November 15, 2005 8:51 AM To: CF-Talk Subject: RE: cfform popup Try something like... getUrl("javascript:NewWindow=window.open('profile.cfm?ProStaffID=' + showprofstaff.dataProvider[showprostaff.selectedIndex]['ProStaffID']','Title ','width=400,height=400,left=0,top=0, toolbar=No,location=No,scrollbars=No,status=No,resizable=No,fullscreen=No'); ") .........:.:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -----Original Message----- From: dave [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 15, 2005 1:19 AM To: CF-Talk Subject: cfform popup anyone know how to make this able to pop up a sizes pop up window out of a cfgrid in a flash form? in the cfgrid code: onchange="getUrl('profile.cfm?ProStaffID=' + showprostaff.dataProvider[showprostaff.selectedIndex]['ProStaffID']);" basically want it to pop up a sized pop up window ~Dave the disruptor~ good sites - make money getting rid of ie :) http://explorerdestroyer.com/ http://www.killbillsbrowser.com/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224483 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

