Can you toggle open/close javascript:ColdFusion.navigate?

I'm looking for a way to toggle open/close a table row within a search query.  I have a table of results and a link to more detailed information. I would like that page to stay within the current page.  I have the ColdFusion.navigate working correctly but wondering if there is a way to close it?
Here's some of the code I'm using...
<td><a href="javascript:ColdFusion.navigate('details.cfm?ID=#ID#','detail#q.CurrentRow#')">#q.sl n#, #q.sfn#</a></td>
<td><cfdiv id="detail#q.CurrentRow#"></cfdiv>
Message was edited by: Catherine Lesniewski

It is still unclear what you wish to toggle with what. There are a number of processes going on underneath: the open window, its original content, the content - within the window - coming from  detail.cfm, and the closed window. It may be impossible to toggle between them.
ColdFusion.navigate() does not create the window. Neither can it open a window. It simply copies output from the page detail.cfm into the already opened window.
You would therefore need, besides ColdFusion.navigate(), two further events. One to open or re-open the window and one to close it. That makes a total of at least 3 events.
Here is an example toggling a shown and a hidden window:
<table>
<cfoutput query="q">
<tr><td><a href="javascript:ColdFusion.navigate('details.cfm?ID=#ID#','detail#q.CurrentRow#')">#q.sl n#, #q.sfn#</a></td><td><a href="javascript:ColdFusion.Window.hide('detail#q.CurrentRow#');">Hide</a> | <a href="javascript:ColdFusion.Window.show('detail#q.CurrentRow#');">Show</a></tr>
</cfoutput>
</table>

Similar Messages

  • In the file menu why can't i open 'close', 'print', 'properties'?

    in the file menu why can't i open 'close', 'print' and properties'?

    I have a document open. I clic print, then i select 'more options' to print a partiel view (or 'active view') of the document. But i want to have it 100%. When i choose the size of the document, if i select 'adjust' the scale is 73%. If a select 'real size' then i have shades at both end so i don't have the entire page. If i choose 'reduce pages to ...' i get a 73% scale and if i select personnalized scale (100%) there is still shades at both end. So what do i change to get a 100% active view? On the late version i never had that problem. Thank you.

  • Can you still open URL's within QuickTime and Lion ?

    Can you still open URL's within QuickTime and Lion ? the URL opening seems to have gone.
    I'm running Lion now and just noticed

    I actually tried that but it came up an error and movie could not be found (or words to that effect) I'll try again
    In case it still doesn't work for you, try this URL:
    http://idisk.me.com/jrwalker4-Public/Intro_2.mov
    It is a sample file posted yesterday fixing a Lion playback problem (Lion/QT X v10.1 doesn't seem to like having 2 active MP3 audio tracks present) which I just tested and is playing for me right now.

  • Can you launch and close a Microsoft Word file from Captivate 8.01?

    Can you launch and close a Microsoft Word Document from inside your Captivate 8.01 project?
    Thank you, L

    You can launch it as long as the server has the mime/type, especially if a docx.
    Doubt that you can close it.

  • Subform ceases to open after toggling open/close 3rd time

    I have a Yes/No radio button that controls the visibility of a subform on a multi-page doc. The subform (named: Chapter) is the last subform on the page. When Yes is selected, it reveals the default hidden "Chapter "subform, while clicking "No" hides it. After 3-4 open/close iterations, the subform suddenly fails to open after clicking “Yes” again.
    What's weird is that you can the subform is being rendered (behind the scenes) because the Page number in the footer increases by 1 to signify content has been added to the document, HOWEVER, the subform doesn't become visible, nor can I scroll down to view the page where it would/should have opened.
    Simply put, I'm using a radio button on the Change event with the following script:
    if (this.rawValue == "1"){
    Chapter.presence = "visible";
    if (this.rawValue == "2"){
    Chapter.presence = "hidden";
    Again, the script works for the most part but it all of sudden stops opening the subform after the 3rd or 4th attempt. It almost seems like some type of system bug that's REALLY annoying given how simple this is...
    Other info:
    - I'm using Designer ES2
    - Form has a target version of 9.0/9.1
    - Using Acrobat XI to render form outside of Livecycle
    - The Chapter subform contain other nested subforms, and is set to "Follow Previous" and also Allowed to Page break within Content.
    Any ideas what could be causing this to happen???

    Did you ever get anywhere with this? I have the same issue and nobody in #winehq knows what to do about it.
    Steam community disabled, and this issue has been happening for several Wine versions, across several Nvidia drivers.

  • HT4539 can you not open books on my laptop

    can you open ibooks on a laptop

    No (nor on a Mac) - they can currently only be read in the iBooks app on an iPad, iPhone and iPod Touch

  • Can you help open Illustrator 9.0.1?

    When I double click to open Illustrator, instead of Illustrator the Apple Script Script Editer opens. My computer is a Power Mac G4 running OS10.4.11. This machine with this specific version of the operating system has run this version of Illustrator sucessfully for several years ( the OS runs in the Classic mode when doing this). I do not recall purposely making any change in my hardware or software. The problem just mysteriously started one day several weeks ago. The Genius Bar folks at Apple contend that there is nothing wrong from a hardware standpoint.
    I am not aware of other software problems. For instance Photoshop seems to open and run perfectly. Unknown to me has some automatic software update caused this? Incidentally I did try reinstalling the  9.0.1 software. This seemed to make no difference. This morning I tried to install version 9.0.2 just to see if it would make a difference, but the install stopped short and would not proceed.
    My apologies if there is some obvious fix or work around for this. Please pass along any thoughts. Suggestions will be greatly appreciated.

    Thanks Mike, Scott, and Wade. I'm working on your suggestions. Sorry I'm brand new to the forum and painfully slow figuring out what I'm doing. At least I can respond on a couple of points.
    When I mentioned double clicking to try to open AI I was referring to double clicking on the  application in the AI folder in the Applications folder in the Finder (if I'm using the right terminology). The AI icon is no longer in the dock. It disappeared from the dock when I first started to experience the Apple Script problem.
    Incidentally when I tried opening AI the first few times what opened, as I remember, was Automator. On the screen the Automator window labled "Get Specified Finder Items" had listed under "Name" - "Adobe Illustrator 9.0.1".
    Below is the screen shot you asked to see:
    This seems to illustrate the idea that Apple Script is seeing Illustrator as a document. You can see the "Open with" box is showing "Script Editor." The alternatives also available but not shown are "Automator" and "Adobe Reader" neither of which actually opens AI either.
    For the time being I will try again reinstalling AI. I tried it before but Apple Script still opened when I double clicked AI after the reinstall. I will also take a look at how/in what way AI may have been (unwittingly) moved. That very possibly may have been the source of the ongoing problem.
    Thanks again for your thoughts on all of this. -John G

  • How can you toggle H264 on and off in a NetStream?

    Hello.  Let's say you have the following code that switches your stream to use H264:
    var h264Settings:H264VideoStreamSettings = new H264VideoStreamSettings();
    h264Settings.setProfileLevel(H264Profile.BASELINE, H264Level.LEVEL_2);
    stream.videoStreamSettings = h264Settings;
    Let's say you want the user to be able to keep clicking a button that will switch the stream back and forth between this and its default, non-H264 settings.  How can you do this?  I don't want to recreate the NetStream or have multiple NetStreams or anything else really sloppy like that.  I tried looking up the videoStreamSettings property in the main docoumentation for a NetStream (http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/net/NetStream.htm l), but they don't even formally list it for some reason.  Thanks!    

    There is no way, other than your current approach, to do this.
    You can submit feedback to Apple: http://www.apple.com/feedback/iphone.html.

  • Can you tile windows from Javascript in CS3?

    I have a javascript that will open 2 images in Photoshop from different directories based on a single filename, so that the users can view them side by side. They need this to be able to compare the colour correction from an automated process against the original image.
    The trouble is that even though I can open the images, I cannot invoke the "window/arrange/tile vertically" menu item, as I can with InDesign.
    Does anyone know of a neat trick to get around the missing tile vertically command within Javascript for Photoshop CS3.
    (I've trawled the web and found that most answers are for 4 or more windows, where the images are pasted into one doc. But here I need to keep the windows separate.)

    One way to do this in CS3 is with an action. Make a new action then stop recording. There should be no steps in the action. From the action panel's flyout menu choose insert menu item. Then choose the "window/arrange/tile vertically" menu item. You now have an action that you can call from a scipt to tile the two images.
    Another way is to use Xbytor's doMenuItem function
    // adatped from Xbytor's xtools stdlib.jx
    doMenuItem = function(item, interactive) {
       var ref = new ActionReference();
       ref.putEnumerated(charIDToTypeID("Mn  "), charIDToTypeID("MnIt"), item);
       var desc = new ActionDescriptor();
       desc.putReference(charIDToTypeID("null"), ref);
       try {
         var mode = (interactive != true ? DialogModes.NO : DialogModes.ALL);
         executeAction(stringIDToTypeID("select"), desc, mode);
       } catch (e) {
         if (!e.message.match("User cancelled")) {
           throw e;
         } else {
           return false;
       return true;
    doMenuItem(stringIDToTypeID('tileVertically'));
    Note newer version of Photoshop have a app method named runMenuItem that can be used instead of a custom function.

  • Acrobat X: Can you make 'open' the default option when opening sharepoint documents?

    When you open a sharepoint document with acrobat X, you get the pop-up screen asking you how you want to access the file. The option are 'check out and open', or just 'open'.
    Is it possible to make 'open' the default access methode, so that you don't have to click on the pop-up for every document?

    Hi Deedee,
    No, it's not really possible to set this default. 
    That said, there's a registry key setting you can change to disable the SharePoint integration feature though. 
    They key is:
    HKLM\SOFTWARE\Policies\Adobe\(product name)\(version)\FeatureLockdown\cSharePoint
    Summary: Disables the SharePoint integration features.
    Details:  Controlls the application's ability to detect that a file came from a Sharepoint server, disables the check-out prompt, and removes the SharePoint specific menu items. Possible values include:
    0: Disable the SharePoint integration features.
    1: Same as "null." Don't disable the SharePoint integration features.
    This may not really fit your need though.
    -David

  • Boot Camp users using XP via Boot Camp, Can you install Open Type Fonts? 2

    I have written this post as a continuation of the following archived thread, which has never been solved.
    http://discussions.apple.com/thread.jspa?threadID=1778497&start=0&tstart=0
    Have any of the Boot Camp 3.0 users that have been using Windows XP via Boot Camp been able to install Open Type Fonts, i.e. fonts that are sold by Adobe?
    I have now tried this on two new MacBook Pros, and I have tried three different retail versions of Windows XP on each system. It just does not work.
    I keep getting the "Unable to Install Font" message, which suggests that I contact the font vendor, which I have. I have also tried many different versions of different fonts.
    From the many complaints and troubleshooting in my original thread, we know that this is definitely an issue with Boot Camp, which prevents users from installing Open Type Fonts, specifically from Adobe.
    Has anyone else experienced this with Boot Camp 3.0?
    Thanks!

    The fix for this can be found here:
    http://www.thomasphinney.com/2008/12/no-font-instal/
    It's a simple registry edit. It resolved the issue for us on both nVidia and ATI iMacs running XP in Bootcamp.
    Here's the relevant excerpt:
    +Nvidia says the problem occurs on Windows XP only, and Vista users are unaffected, but at least one Vista user has reported they had this problem and the fix resolved it. It affects multiple NVidia cards, and some (unspecified) ATI cards. The fix, posted by David Ingraham in a horribly lengthy thread on the Adobe User Forums, and in a post by “PixelNinja” on the NVidia forums is this:+
    +— start of email from HP —Good news. Nvidia has identified the problem and provided a fix. The way it was explained to me, Windows expects the device driver to be a certain size (maximum). In this case, the nvidia driver is slightly larger than expected. A simply registry entry will resolve the issue in WinXP (the issue doesn’t occur in Vista).To resolve the problem, do the following:+
    +Open the registry editor (regedit)+
    +Navigate to+
    +HKEYLOCALMACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management+
    +Add a new REG_DWORD entry called SessionImageSize with a value (decimal) of 20+
    Reboot
    +The Type 1 fonts should now open/install without any problems.+
    +— End of HP email —+
    Message was edited by: Laurie Duncan

  • In DVD studio pro can you "toggle" subtitles ON/OFF so it shows on screen?

    I have DVD Studio Pro 4.
    I have an "extras" menu where I offer three subtitle options:
    English
    Spanish
    French
    Can I show the user when he comes into that menu the current state of the subtitles.  Eg:
    English   ON
    Spanish  OFF
    French  OFF

    I'm by no means a scripting expert in dvdsp, but I'm pretty sure you could create multiple menus each one reflecting which subtitle state is active.  You need to create a script that navigates to the correct menu depending on which subtitle state is active.    Scripting can seem daunting, but it's not as complicated as it initally seems.   The manual is a great resource.

  • Open/close javascript

    I have an html page that contains 2 tables, each of which
    needs to be 'expandable' and 'contractual'. (I've created minimize
    and maximize buttons for them as well) I've given IDs to the 2
    table's however I don't know if or what javascript (??) I'd need to
    add within the code to make this work. Any ideas? I can attach the
    html page if you want to see it... Help?

    Have you tried placing the table(s) in layers and then do a
    hide/show?
    Do you have an example somewhere you can show?

  • Can you help open video chat between Tiger 10.4.11 and Snow Leopard 10.6.2?

    We can get the text chat working but not the video chat. Also, her screen name shows up in my Buddy list grayed out even though she is logged into iChat.

    Hi,
    Welcome to the    Discussions
    There can be several reason for this.
    Get her to Text chat to you.
    Go to the Buddies Menu.
    If her Screen Name is dark here (you can Add it) you misspelt her Screen Name or added her as the "Wrong" type of account in a version earlier than iChat 5
    The next can be at your end or hers
    In iChat Menu > Preferences > Accounts > Security are several options about who can see you as being On line. (they appear Off line if you are Blocking them)
    It is unlikely to be Blocking as she can contact you but it might be that she does not have you in the Allow (Specific or Allow Buddy List Only) lists.
    She of course have setting made at her end and be typing in you name in the file Menu Option to start chats.
    Unless you have stopped Off Line Messaging, she may be sending stuff to an Off Line Buddy at her end and getting your immediate response.
    Lastly if she is using iChat 4 or 5 she can be set to Invisible.
    9:29 PM Friday; January 1, 2010
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"

  • Can you toggle Extended Desktop?

    Hey this is my first post here on the board,
    my problem has to do with multiple displays. I currently have my LCD TV connected via the mini-DVI to my mac. The extended desktop works great. The only problem is that I don't always want to extend my desktop to the TV screen, I only want to do so when I watch a movie etc. It gets irritating when the TV is turned off and something is on the other screen.
    So my question is: Is there some way of turning output to the second monitor on/off? The effect I am looking for is essentially the same as if I pulled the mini-DVI cable out of my iMac. (The main screen would remain and the other would go black, restricting the cursor to the main display).
    AppleScript snippets, Automator stuff, Widgets anything!
    I hope you can help me out.

    Bludger wrote:
    Thanks for your replies! You are right mirrored mode would fix the problem iff it wasn't for the fact that the two displays (one being the TV) have different resolutions, this results on black bars on my iMac's screen -- which really isn't cool. Instead I would like to completely stop output to the other display (TV). Just like in windows (the feature called "Extend my display to this monitor" or something like that.
    there is no option to do that. you'll just have to unplug the external monitor when you don't want to use it.

Maybe you are looking for

  • How to get the 4 digit number associated with a SAP icon ( ICON_MAIL )

    Hi Friends,                Could anyone please tell me how to get the 4 digit number associated with a SAP icon ( ICON_MAIL ).                eg: - For ICON_GREEN_LIGHT the four digit id code is '@08@' (which you can get from ICON table )and the asso

  • Problem with BranchGroup

    Hi all, When the following class is called, Java returns an exception. I d'ont understand what the problem is. If anybody has an idea, it''ll be great. The code is : import javax.media.j3d.*; import com.sun.j3d.utils.picking.PickTool; import com.sun.

  • ATI Radeon 5470 Corrupted Display Driver

    Hi, I've updated to windows 8.1 and I'm trying to install the old ATI Mobility Radeon HD 5470 Display Drivers, but when I go to AMD website it tells me to download a new version, and after I install that version I get like 10 fps at Counter Strike: G

  • HT2486 add relationship to address book

    How do you add your relationship to the contact on your address book, like your daughter,husband etc?

  • The difference in the action of IgnoreHWSerNum of USB2.0 and USB3.0

    I googled around a lot but was unable to find an answer to this problem, So I am putting it here. I simply want that for a USB port, the assigned COM port number does not change for devices with a different serial numbers. On investigating I found ou