Re: [ACFUG Discuss] Can I Remove the URL from Child Windows?
Are you sure you need actual windows? It sounds like you can get what you need using divs like suggested in other replies will give you what you need. If using jQuery, this is all wrapped up as "dialog"s. https://jqueryui.com/dialog/ Other js libraries have similar implementations as well. A dialog can have static content, or pull in dynamic content with an Ajax request, and you can have as many open and drag-able on screen as needed. On Sep 9, 2016 8:19 AM, "Peyton Todd"wrote: > Hello Everyone, > > I, too, am glad to know this list still exists, since I have a question. > To identify myself briefly, I’m a former member of the group, now retired, > so I no longer write Cold Fusion code. My question concerns a research > project that I presented to the group a few years ago, when members were > asked to describe their work regardless of its relevance to Cold Fusion. > The project is about the speech of a hearing child of deaf parents, and I’m > hoping one of you with knowledge of HTML and Javascript can help me choose > between two ways of presenting the data. > > I apologize for the great detail of this post, but I can get to my > question right away before going into all that detail: > > *Does anyone know how to make the URL disappear in a child HTML window? If > not, then is there some other simple way to get the effect I want?* > > Apparently the standard way would have been to set location=no when > specifying the parameters to the window.open command. But that doesn’t > work, and I remember reading somewhere that the W3C has decided to disable > it. Is there some other way to make the URL disappear? Or maybe an > alternate way to get a child window? (I thought of having DIVs that are set > display=block or display=none, but apparently the user would not be able to > move them around on the screen (No doubt it could be done via buttons that > reset their left and top properties, but that would not be simple to > program, and I need the ability for multiple windows to be open at the same > time, which would make it even more complicated.) > > Admittedly this has only to do with aesthetics, but I want it to be as > pretty as possible! > > To see what I have so far, please download the little folder at the > Dropbox link below, and click on “testvideotag.htm” to test it. (It works > in chrome, firefox, opera, and safari, but not in internet explorer.) > > https://www.dropbox.com/sh/x8guh0m7ll5hrr8/AAAJkZjCRKMv7XSKrL2SGF7sa?dl=0 > > The other approach I’m investigating may not tap the expertise of most > ACFUG participants, but I’ll present it in case anyone has a suggestion. It > uses PDFs, and if you want to see what it looks like you could download the > little PDF at this other Dropbox link and run it (“PDF Version.pdf”): > > https://www.dropbox.com/s/9ghu3l5fkfj2t7i/PDF%20Version.pdf?dl=0 > > The PDF version doesn’t display the ugly URL, of course, but my fear is > that Adobe will disable my PDF solution some day – a matter I’ll probably > have to check with Acrobat experts about, but in case anyone has ideas > about it please let me know. > > When I describe my PDF solution, you’ll see why I fear Adobe will disable > it: I like my interface the way it is: little icons that don’t take up > screen space the way opening video inside the page would (there will be > many hundreds of these!). And I like my audio icons the way I have them, > too. If I attach MP3 (i.e. H264) audio to an icon via the sound tool (as in > the leftmost ‘speaker’ icon in my PDF), it plays, but then the standard > Acrobat audio interfaces jumps in and takes over the icon – too small to be > operative. > > If I attach the audio it to a button-icon instead, then everything works > perfectly (as in the rightmost ‘speaker’ icon). But here’s what makes me > think Abobe would some day pull the rug out from under me: with the sound > tool, one is forced to use H.264 (a WAV file is legacy, and leads to the > ‘Do you trust this?’ warning – painful when one must open hundreds of these > little PDFs. And the legacy method is now blocked over the internet > anyway). > > But if I attach sound to a button, only WAV files seem available as a > choice. Remarkably, MP3s are not available for choosing even though they’re > in the same folder as the WAV file. So if WAV files are a security hole > when using the sound tool (forcing one to use H/264 like MP3), why would > they not be when attached to a button? And if they are, then Adobe will > discover the problem and fix it some day, thus disabling the many hundreds > of PDFs I will have prepared by then! > > I should mention that I have Acrobat 9 Pro Extended, from which no upgrade > path is available. To buy a new Acrobat Pro DC costs $449. > > Thanks so much for any help you can provide! >
Re: [ACFUG Discuss] error trap emails -- html format for gmail?
Steven, You need to add type=HTML to your cfmail tag. --Ken On Mar 24, 2011 9:54 AM, Steven steve...@gmail.com wrote: Hey all, We do some error trapping via email for one of our apps, and the formatting doesn't come over quite right for gmail. We're just dumping out the error struct in a cfmail of type html. Anyone run into this and have a workround for gmail? Something in the html output isn't quite right for gmail. I know it's a picky, pet-peevy thing.. :P but I haven't had enough coffee yet this morn, and this silly formatting issue is bothering me. See screenshot of what I'm talking about at: http://blueboltservers.com/error_trapping.jpg (biz gmail on left, owa on right) Thx. -Steve
Re: [ACFUG Discuss] Error Handling and CF8
If you are going to be building robust error handling, it would likely be worth your time to upgrade the Application.cfm's to Application.cfc's now. Because you get so much more control of specific events in the CFC version, it lends itself well to better error handling, IMHO. Ben Nadel's blog has some excellent write-ups of how to work with the CFC version if you aren't familiar with it. :) --Ken On Fri, Mar 11, 2011 at 2:58 PM, Matthew Nicholson matthew.nichol...@soltech.net wrote: That was actually one of my initial thoughts since my play around with settings didn’t have any affect. But, no, couldn’t find any Application.cfc’s either and that certainly left me a little puzzled to be sure. *Matthew R. Nicholson* *From:* ad...@acfug.org [mailto:ad...@acfug.org] *On Behalf Of * axunderw...@ups.com *Sent:* Friday, March 11, 2011 3:35 PM *To:* discussion@acfug.org *Subject:* RE: [ACFUG Discuss] Error Handling and CF8 Well, here's a quick tip for you - you mentioned you only searched for Application.cfm files, you might want to include Application.cfc to that search. Application.cfc is the newer version of Application.cfm and has many more events that can be handled at page/application load times. You might have several of those floating around where you'll want to put in your error handling. -- *From:* ad...@acfug.org [mailto:ad...@acfug.org] *On Behalf Of *Matthew Nicholson *Sent:* Friday, March 11, 2011 3:31 PM *To:* discussion@acfug.org *Subject:* RE: [ACFUG Discuss] Error Handling and CF8 Excellent point! I’ll admit, I’m still quite new to working with CF and coming behind a number of developers onto a project with a less than ideal documentation policy… well… you get the idea… :) Thankfully, I love a good challenge. :D *Matthew R. Nicholson* *From:* ad...@acfug.org [mailto:ad...@acfug.org] *On Behalf Of * axunderw...@ups.com *Sent:* Friday, March 11, 2011 3:25 PM *To:* discussion@acfug.org *Subject:* RE: [ACFUG Discuss] Error Handling and CF8 :-) That's not uncommon...each Application.cfm or Application.cfc can be used for separate applications, or can be used to help keep directories from being secured, etc. It's just part of the CF framework - wouldn't call it a mess just because there's multiple of them! Might be that it is a mess, but, multiple Application files definitely have their place. Allen -- *From:* ad...@acfug.org [mailto:ad...@acfug.org] *On Behalf Of *Matthew Nicholson *Sent:* Friday, March 11, 2011 3:22 PM *To:* discussion@acfug.org *Subject:* RE: [ACFUG Discuss] Error Handling and CF8 Ah Ha! Looks as though I was barking up the wrong Application.cfm… I’ve found one that’s not encrypted and is apparently being used by my application mixed in all the source that I hadn’t noticed before. How many of these “Application.cfm” files are typically built into a single CF server? Oddly enough, I’ve found about 8 on this box. What a mess… *Matthew R. Nicholson* *From:* ad...@acfug.org [mailto:ad...@acfug.org] *On Behalf Of *Mark Bureau *Sent:* Friday, March 11, 2011 3:17 PM *To:* discussion@acfug.org *Subject:* Re: [ACFUG Discuss] Error Handling and CF8 looks like it might be encrypted. *From:* Matthew Nicholson matthew.nichol...@soltech.net *Sent:* Friday, March 11, 2011 3:08 PM *To:* discussion@acfug.org *Subject:* [ACFUG Discuss] Error Handling and CF8 Afternoon All! I’m trying to setup error handling for our production environment to be more sophisticated then explosion followed by a crash and burn. With that, I’ve been able to find a wealth of tutorials on how to set templates and all sorts of other goodies but a majority of them require me to modify the Application.cfm or Application.cfc. My server(s) are all running vanilla CF8 and only use the Application.cfm. However, I’m unable to modify the file, I get a whole bunch of goop (with an example below) when I attempt to modify the file in just about every editor I have access to. *Example*: -- N -- P -- ¶¢**´ Is it encrypted? Am I being thick? Any direction would be greatly appreciated as always! Thanks! *Matthew R. Nicholson* - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by FusionLink http://www.fusionlink.com - - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see
Re: [ACFUG Discuss] Noob help
Mike, What you are looking at is probably what in CF world is called a query of queries. Does the CFQUERY tag look like this? cfquery name=foo dbtype=query This is a built in feature in CF that allows you to run a query against a result from another query. So qryGetVisitRecords is probably the name of another query you have above this one... Hope this helps! :) --Ken On Mon, Dec 6, 2010 at 4:19 PM, mike barnes mdb3...@gmail.com wrote: Hi everyone, I am new to Cold Fusion and have been tasked with maintaining an existing application and am having a little trouble following the code. Specifically, I am unable to understand the following cfquery snippet and how the from clause is figuring out what the table is: --- Code below - SELECT * FROM qryGetVisitRecords cfif form.assigned_month_filter neq and not listFind(asc,desc, form.assigned_month_filter) , qryGetAssignedMonths WHERE qryGetAssignedMonths.sitecompany_id = qryGetVisitRecords.sitecompany_id -- The issue is that I do not have a qryGetVisitRecords table or view. Also, do not have a qryGetAssignedMonths table or view. So, the question is where to I find how the query is calculating the table name. And, is there a way to trap the sql statement so that I can visually inspect it. Thanks Mike Barnes
[ACFUG Discuss]
http://Parisw5RobinsonIIzbj.spaces.live.com -- --Ken - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -