open new window in flash form and pass a url parameter
I need to open a new window and pass a url parameter in a flash form. When I select a record in the grid, I need to pass the accession to the next page. if i hard the accession, the new window opens and I get the correct result, but i am not sure how to pass it as I select it on the grid in flash form function popUpWindow(url) { window.open(url, "SPDR" ,''); } select I2_Accession_Number as Accession from g021 Where I2_Accession_Number like '583%' function Result(){ getUrl("javascript:popUpWindow('Print_Result.cfm?Accession=grdGO21.selectedItem.Accession')") } _ Discover the new Windows Vista http://search.msn.com/results.aspx?q=windows+vista&mkt=en-US&form=QBRE ~| Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 & Flex 2. Free Trial http://www.adobe.com/products/coldfusion/flex2/ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271787 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: open new window
Not strictly an answer but if pages are going to be refreshing and submitting and you need side by side comparrison. Why not make it a frames page? On 10/3/06, Richard White <[EMAIL PROTECTED]> wrote: > thanks teddy ill check it out > > ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255303 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: open new window
thanks teddy ill check it out ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255221 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: open new window
thanks brad that helps alot :) ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255219 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: open new window
VBScript does not have good support. If you need a different pop-up and a different confirm, create you own by using JavaScript boxes that show when you need them. This prevents spawning windows being killed by pop-up blockers and there is also multi-browser support for rendering s from the document object model. Some quick research on DHTML can open a world of alternate interface possibilities. Teddy On 10/3/06, Brad Wood <[EMAIL PROTECTED]> wrote: > > See if this helps: > > http://ns7.webmasters.com/caspdoc/html/vbscript_msgbox_function.htm > > ~Brad > > -Original Message- > From: Claude Schneegans [mailto:[EMAIL PROTECTED] > Sent: Tuesday, October 03, 2006 11:14 AM > To: CF-Talk > Subject: Re: open new window > > >>is there any way of getting the confirm box to have yes and no > buttons instead of ok and cancel > > AFAIK, the answer is no. > Unless you make your own confirm box using some hidden DIV that is made > shown by Javascript. > > -- > ___ > REUSE CODE! Use custom tags; > See http://www.contentbox.com/claude/customtags/tagstore.cfm > (Please send any spam to this address: [EMAIL PROTECTED]) > Thanks. > > > > > ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255218 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: open new window
> almost as intrusive as say, trying to disable their back button :) > So ya thought you were gonna slip that one by me. While will's away the *mice*M/strong> will play! That one's goin on my chalkboard. :) Will ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255215 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: open new window
See if this helps: http://ns7.webmasters.com/caspdoc/html/vbscript_msgbox_function.htm ~Brad -Original Message- From: Claude Schneegans [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 03, 2006 11:14 AM To: CF-Talk Subject: Re: open new window >>is there any way of getting the confirm box to have yes and no buttons instead of ok and cancel AFAIK, the answer is no. Unless you make your own confirm box using some hidden DIV that is made shown by Javascript. -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL PROTECTED]) Thanks. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255205 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: open new window
Isn't there a VB Script confirm you can customize? ~Brad -Original Message- From: Claude Schneegans [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 03, 2006 11:14 AM To: CF-Talk Subject: Re: open new window >>is there any way of getting the confirm box to have yes and no buttons instead of ok and cancel AFAIK, the answer is no. Unless you make your own confirm box using some hidden DIV that is made shown by Javascript. -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL PROTECTED]) Thanks. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255204 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: open new window
>>is there any way of getting the confirm box to have yes and no buttons instead of ok and cancel AFAIK, the answer is no. Unless you make your own confirm box using some hidden DIV that is made shown by Javascript. -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL PROTECTED]) Thanks. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255203 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: open new window
sorry, while we are on the subject, i am also asking the users if they do want to open the data in a new window. The confirm box that i make appear says 'do you want to open this data in a new window?', is there any way of getting the confirm box to have yes and no buttons instead of ok and cancel thanks ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255199 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: open new window
thanks for your replies. good point charlie about the pop-ups, didnt think about that :) but i do need it as part of the functionality of my system. I want it so the user can analysis 2 pieces of data in seperate windows at the same time. I cant get it to occur in the same window as they will forever have to keep saving their info then loading the other data. So i will have to either alert them regarding the pop-up blocker when they try to open the second window or like you said claude to prevent them from coming on the site if they have their blocker enabled. thanks ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255197 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: open new window
Or good old ... On 10/3/06, Teddy Payne <[EMAIL PROTECTED]> wrote: > Just use a hovering div so the popup blocker cannot prevent the content from > showing. > > Teddy > > On 10/3/06, Charlie Griefer <[EMAIL PROTECTED]> wrote: > > > > popup blocker's there for a reason. > > > > if you could easily circumvent it and spawn windows that the user > > doesn't want spawned (hence their use of a popup blocker), that's > > almost as intrusive as say, trying to disable their back button :) > > > > On 10/3/06, Richard White <[EMAIL PROTECTED]> wrote: > > > Hi, i am wondering if it is possible to open a new window without a the > > browsers pop-up blocker stopping it from opening the code i am using is as > > follows: > > > > > > window.open('newWindow.cfm'); > > > > > > but the pop-up blocker stops it from opening i would appreciate any help > > thanks > > > > > > > > > > > > ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255198 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: open new window
>>Hi, i am wondering if it is possible to open a new window without a the browsers pop-up blocker stopping it from opening No, but you can prevent users from login into the site if they have their anti-pop-up enabled. -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL PROTECTED]) Thanks. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255187 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: open new window
Just use a hovering div so the popup blocker cannot prevent the content from showing. Teddy On 10/3/06, Charlie Griefer <[EMAIL PROTECTED]> wrote: > > popup blocker's there for a reason. > > if you could easily circumvent it and spawn windows that the user > doesn't want spawned (hence their use of a popup blocker), that's > almost as intrusive as say, trying to disable their back button :) > > On 10/3/06, Richard White <[EMAIL PROTECTED]> wrote: > > Hi, i am wondering if it is possible to open a new window without a the > browsers pop-up blocker stopping it from opening the code i am using is as > follows: > > > > window.open('newWindow.cfm'); > > > > but the pop-up blocker stops it from opening i would appreciate any help > thanks > > > > > > ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255176 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: open new window
popup blocker's there for a reason. if you could easily circumvent it and spawn windows that the user doesn't want spawned (hence their use of a popup blocker), that's almost as intrusive as say, trying to disable their back button :) On 10/3/06, Richard White <[EMAIL PROTECTED]> wrote: > Hi, i am wondering if it is possible to open a new window without a the > browsers pop-up blocker stopping it from opening the code i am using is as > follows: > > window.open('newWindow.cfm'); > > but the pop-up blocker stops it from opening i would appreciate any help > thanks > > ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255171 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
open new window
Hi, i am wondering if it is possible to open a new window without a the browsers pop-up blocker stopping it from opening the code i am using is as follows: window.open('newWindow.cfm'); but the pop-up blocker stops it from opening i would appreciate any help thanks ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255168 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: possible to open new window on CF_MsMenu?
Haven't used it, but I would assume there is a 'target' option and you simply tell it to open _blank -Original Message- From: Janine Jakim [mailto:[EMAIL PROTECTED] Sent: 24 February 2003 14:31 To: CF-Talk Subject: OT: possible to open new window on CF_MsMenu? Is anyone using MsMenu? Is there a way to get the link to open a new window? I haven't had any luck doing it this way. I'm assuming that it can't be done since the tag is using js. Thanks, J ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq 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 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
OT: possible to open new window on CF_MsMenu?
Is anyone using MsMenu? Is there a way to get the link to open a new window? I haven't had any luck doing it this way. I'm assuming that it can't be done since the tag is using js. Thanks, J ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq 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 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
OT: Open new window for info
I'm using a script from javascript that opens a new window and populates the new page. This is great for working with pdfs. I decided to add it to a page that has a CF_TwoSelectsRelated tag and a cf_autofill tag. The variables will not pass in the url(makes sense as the variable isn't defined yet). (The variables do pass fine with submit buttons). I'm wondering if there's a way to get this to work- either sending it through the url or modifying it somehow to be sent with the submit button. Or is there a better way to open a new window with the submit button/is there a way to add the javascript there? "> then my link that doesn't work is the following. The TeacherId is used in the CF_TwoSelectsRelated tag (first the user picks a grade than teacher). The school id is the current schoolid- the school that the user is admin at. View Class Report Cards Any ideas would be great. thanks, j ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting.
RE: JavaScript Open New Window in ColdFusion template!!
should be: And in your window.open method, if the value of a parameter is "no", you don't need to list it, as long as you have at least one "yes". -Ron > -Original Message- > From: Anthony Caroleo [mailto:[EMAIL PROTECTED]] > Sent: Thursday, August 24, 2000 10:06 AM > To: '[EMAIL PROTECTED]' > Subject: JavaScript Open New Window in ColdFusion template!! > > > Hello All, > > I hope that you can give me hand with this annoying little > problem that I am > having, I need to open up a new window containing some HTML > forms using > JavaScript. I can get the script to work on a HTML page > standalone, but > when I embed the script in a table on my cfm template the > link opens up a > window with no data and the URL contains the script! > > My function is as follows: > > > <!-- > > function newwindow(){ > > > window.open(url,'CC','toolbar=no,location=no,scrollbars=no,dir > ectories=no,me > nubar=no,resizable=yes,width=550,height=450'); > > } > // --> > > > > My JavaScript link is as follows: > > > > On looking at the debug information after the blank page is opened the > JavaScript link is followed by a ColdFusion link, which is > the same link as > the preceding page. My question is what am I doing wrong and > why does the > ColdFusion link appear after the JavaScript link? > > Any help on this would be greatly appreciated. > > Many Thanks in advance > > Anthony Caroleo > -- > > Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ > To Unsubscribe visit > http://www.houseoffusion.com/index.cfm?sidebar=lists&body=list s/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body. -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
Re: JavaScript Open New Window in ColdFusion template!!
Anthony, The following will work for you and center the window in the middle of the users screen regardless of their resolution settings. I use this interpolated into a table. You might try to be certain that the script tags for this are between closing and opening TD or TR tags. (take note of the line wraps): -Andy G. -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
RE: JavaScript Open New Window in ColdFusion template!!
Hey Anthony I'm using this and it's working like a charm: function showDocument(act,id) { var link; var accept = true; if (act == 'E' || act == 'A') link = 'edit.cfm?ID=' + id; { MyWin = window.open(link,"Docs","toolbar=no,scrollbars=yes,resizable=yes,location=no ,directories=no,status=no,menubar=no,width=300,height=400"); MyWin.focus(); } } and the link looks like: Edit Hope this helps, Katie -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
JavaScript Open New Window in ColdFusion template!!
Hello All, I hope that you can give me hand with this annoying little problem that I am having, I need to open up a new window containing some HTML forms using JavaScript. I can get the script to work on a HTML page standalone, but when I embed the script in a table on my cfm template the link opens up a window with no data and the URL contains the script! My function is as follows: My JavaScript link is as follows: On looking at the debug information after the blank page is opened the JavaScript link is followed by a ColdFusion link, which is the same link as the preceding page. My question is what am I doing wrong and why does the ColdFusion link appear after the JavaScript link? Any help on this would be greatly appreciated. Many Thanks in advance Anthony Caroleo -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.