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
<cfgrid name="showprostaff"
query="prostaff"
rowheaders="no"
height="200"
<!--- onchange="getUrl('profile.cfm?ProStaffID=' +
showprostaff.dataProvider[showprostaff.selectedIndex]['ProStaffID']);"> --->
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" <[EMAIL PROTECTED]>
Sent: Wednesday, November 16, 2005 12:02 AM
To: CF-Talk <[email protected]>
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/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble
Ticket application
http://www.houseoffusion.com/banners/view.cfm?bannerid=48
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224337
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