You can toggle open/close javascript:ColdFusion.navigate?

I am looking for a way to toggle open/close a table row in a search query.  I have a table of results and a link to more detailed information. I would like this page to stay within the current page.  I have the ColdFusion.navigate works fine, but I was wondering if there is a way to shut it down?

Here are some of the code I use...

< td > < a href = "javascript:ColdFusion.navigate ('details.cfm? ID = #ID #',' detail #q.CurrentRow #')" > #q.sl n #, #q.sfn # < /a > < table > ' "

< td > < cfdiv id = "detail #q.CurrentRow #" > < / cfdiv >

Post edited by: Catherine Lesniewski

I found this one.  I found the answer doing more looking around, so maybe that I was asking the wrong question first. There as hide/show a table row.  So what I found is a JS and little code in the table of query results.  Here is the solution or for me in any case.

Then add in the parent row of this

Then for the line you want to show/hide you wrap a tag and everything just...

Here is the link where I found the answer... EasyCFM.COM-ColdFusion Forums - show/hide lines

Tags: ColdFusion

Similar Questions

  • Satellite C650 froze - I can't open/close all programs

    I have a Toshiba C650 model 1CP, which froze.
    I have connected previously, entered my password and then clicked on the icon of Kaspersky 2011 update and then the laptop just froze.
    I can't open/close all programs or even stop it.
    I am unable to do anything else that the pointer autour.

    The other specifications of my laptop:
    Intel Celeron T3300
    Microsoft Windows 7 Home Premium 64-bit.

    I bought the laptop in September of this year and ensure that all operating systems are up to date, Kaspersky is the only program I have installed on it, the paid version I have for my home PC allows 3 users.
    Other programs on the laptop came pre-installed.

    Any help would be received with gratitude,

    Kind regards

    TerenceM.

    Hello

    Have you tried to reset the laptop back to factory settings?
    Use HARD drive recovery. Turn on the device, press F8 and choose fix my computer.
    Then choose HARD drive recovery.
    This function will set the unit until the first day of purchase

    I'm not quite sure what happened with your device but if he s related to the software, then the recovery procedure should help you to fix this m

    Welcome them

  • By pressing the mouse wheel, opening some bookmarks in the new pages in a folder of bookmarks, WITHOUT the record closes. You can now open the time as a bookmark for each

    Annoying when you have bookmarks files in other folders of bookmarks.
    By pressing the wheel, or by choosing "open in a new tab", the new tab is automatically displayed on the screen, even if this option is not checked on the options for the generic firefox tool (the one on the menu bar).

    Try to use the bookmarks - {Ctrl + B} - bar will be open so that you can select multiple bookmarks.

  • in windows 7 when you right click on how do you get the little line under the letter of the you can click on to make it open Windows 7

    in windows 7 when you right click on how do you get the little line under the letter of the you can click on to make it open Windows 7

    Example when you right click on a program, you can see Open if you click o the file opens, it was in XP, but not in 7

    That's what you want.

    1 - Open "Control Panel" and go to accessibility.

    2 - click make the keyboard easier to use.

    3. the title of 'Make it easier to use keyboard shortcuts' tick the box 'Underline access keys and keyboard shortcuts' and click 'Ok '.

    Oh sure, it could be useful.

  • Bugs in the ColdFusion.navigate CF example?

    The pages which I reproduce double lines below, who are both on page 622 of ColdFusion developer and Guide in a simpler form on page 127 of the ColdFusion online reference manual online, appear to contain one or more bugs. First, when clicked on the link in the No. 1 window to run the javacript code: ColdFusion.navigate('windowsource.cfm','w2',mycallBack,myerrorhandler), Javascript complains "mycallBack is undefined". To work around this problem, you can put "mycallBack" in quotes. Same story with myerrorhandler, which should also be placed in quotes. But we're getting the message "function expected". But what function? The function mycallBack is duly defined at the top of the page...

    (Note to beginners Javascript: If you try this and you do not see the error messages, look in the lower left corner of the page; it will say "Error on page".) "You need to click the little exclamation point in yellow triangle to open the window for error.)

    As a relative beginner myself after 5 years of programming it would help me greatly to understand AJAX (and steal code that works!) If a person could not understand what is wrong with the example code below.

    And a second important question: when you receive Javascript errors, how can we ever find the line where it occurred? For details of all understand them do not appear in "View source", we has no idea where the problem is even when you said the line number. In this case the line number is 892 - which is VERY strange since it's the same line becomes number one, if you run the version Developers Guide or reference manual. But how could it be, as the Developers Guide version contains a previous section (illustration cfpod) not present in the version of the reference manual?

    On the other hand, it might be this line 892 is somewhere in one of includes? But where are they? There is a long list at the top of the resulting page (which can be seen in "View source"), for example,

    "< script type =" text/javascript"src="/CFIDE/scripts/ajax/messages/cfmessage.js "> < / script >
    "< script type =" text/javascript"src="/CFIDE/scripts/ajax/package/cfajax.js "> < / script >

    ... and 13 additional lines of includes which look like. But my CFIDE directory contains only the file wddx.js and nothing else. The above files are hidden? And even if we could find and insert them into the page "View Source", there MUST be a better way to know what call the Javascript line error messages! DOES ANYONE KNOW WHAT THIS COULD BE?

    I placed the simpler version (the one in the reference manual) following the double lines below. Note that there is a main page and a second page, names windowsource.cfm. This second page load in the window 2, as it should. We see the line "It's the markup of the"windowsource.cfm"" it contains, and if you write a few words within the < div > tag, they appear just where they should be. If of course the error does not happen until the function mycallback. I don't know why, but if I put a simple alert ('mycallBack now is') just inside that work, it never appears.

    Help, please!

    Peyton
    ================================================================================
    «"" "HOME PAGE:»»"»

    < html >
    < head >
    <!--> Reminder Manager puts text in the div. reminder window.cfm
    < script language = "javascript" >
    var = function() {mycallBack
    document.getElementById("callback").innerHTML = "< br > < br > < b > it is printed by the.
    Reminder Manager. < /b > ';
    }
    <!-the error handler opens an alert with the error code and message. ->
    var myerrorhandler = {function (errorCode, errorMessage)}
    Alert ("[In Error Handler]" + "\n\n" + "error Code:" + "\n\n" + error code "error)
    Message: '+ errorMessage);
    }
    < /script >
    < / head >
    < body >
    < name cfwindow = "w1" title = "CF window 1" initShow = true
    x = 10, y = 10 width = "200" >
    It's a cfwindow control. < br > < br >
    < a href = "javascript:ColdFusion.navigate ('windowsource.cfm', 'w2', 'mycallBack', 'myerrorhandler'); ">
    One click to navigate in the window 2 < /a > < /a >
    < / cfwindow >
    < name cfwindow = "w2" title = 'CF window 2' initShow = true
    x = 250 = 10 width = "200" >
    It is a second cfwindow control.
    < / cfwindow >
    < / body >
    < / html >

    SECOND PAGE (named windowsource.cfm):

    It's markup of the "windowsource.cfm".
    <!-Reminder Manager puts its output to the next div block. ->
    < div id = "reminder" > < / div >

    Thanks a lot, as well Daverms and you, cf_dev2, for helping solve me this problem. In fact, there was a citation error in the version of the code I was working mostly with - version of the developer's Guide (p. 622, based on figures at the top of the page, but p. 635 in doc PDF itself). It was a mistake of quotation mark double and may have indirectly led to the problems I encountered. The code that I copied it to my post was drawn from the reference manual (in fact, it was p. 127 x, where x is a digit - I said p. 127, because I read the number at the top of the PDF page, chops out the last digit - an error from Adobe, PDF manufacturers very! (Tsk, tsk). I guess the only mistake of the quote you are referring to is online:

    JavaScript:ColdFusion.Navigate ('windowsource.cfm', 'w2', 'mycallBack', 'myerrorHandler'),

    which I have single quotes on the javascript function names; I put those there because I get errors when I did, as I explained above. Again the code you sent me and code in the reference manual, has obviously no single quotes here, and it works for me, as he has done for you. I was sure that the version of the reference manual is no longer works, but maybe I was mistaken. I don't know why I had to put single quotes around the function names, but maybe it was an indirect consequence of the quotation mark missing in the error message, which, as you can see below, it was missing the double quotes to start the expression "Error Message:" the end of the line:

    Alert ("[In Error Handler]" + "\n\n" + "error Code:" errorCode + "\n\n" + Error Message: "+ errorMessage);

    Anyway, thanks again for you help, especially for pointing me FoxFire and its debugger, which will make my life easier in the future!

    Peyton

  • ColdFusion.Navigate works do not CF8

    Trying to figure out how to get the pages linked in the menu to fill the second area of provision.  What I read the code must be in the proper syntax to make it work, but when I click on a menu button, I get a lot of nothing happens.  I used ticket entries to play with different solutions, but all without success.  Is there some sort of javascript that I need to get over this to make it work or something?  Any help is appreciated.

    < cfajaximport tags = "cfgrid, cfform, cfdiv, cfpod" >
    < cflayout type = "vbox" align = "center" >
    < name cflayoutarea = 'menu' overflow 'visible' = align = "center" style = "width: 100%" >
    < cfmenu type = "horizontal" bgColor = "# c0c0c0" selecteditemcolor = "# C8CED6" >
    < cfmenuitem display = 'Index' href = "javascript:Coldfusion.navigate ('index.cfm', 'mainArea')" > < / cfmenuitem >
    < cfmenuitem display = 'Tickets' >
    < name cfmenuitem = 'open' display = "View open Tickets" href = "javaScript:Coldfusion.navigate ('openTicket.cfm', 'mainArea')" / > "
    < name cfmenuitem = 'Search' display = 'Search old Tickets' href = "searchTicket.cfm" target = "mainArea" / > "
    < / cfmenuitem >
    < cfmenuitem display = 'Alerts' >
    < name cfmenuitem = 'New' display = "New alert" href = "javascript:Coldfusion.navigate ('alerts.cfm', 'main')" / > "
    < name cfmenuitem = 'Active' display = "Active alerts" href = "javascript:Coldfusion.navigate ('alertsFollowUp.cfm', 'main')" / > "
    < name cfmenuitem = "History" display = 'Alerts history' href = "javascript:Coldfusion.navigate ('alertHistory.cfm', 'main')" / > "
    < / cfmenuitem >
    < cfmenuitem display = 'Inventory' >
    < cfmenuitem = 'pc' display name = "PC inventory" href = "javascript:Coldfusion.navigate ('pc.cfm', 'mainArea')" / > "
    < name cfmenuitem = "searchpc" display = "Search PC inventory" href = "javascript:Coldfusion.navigate ('pcSearch.cfm', 'mainArea')" / > "
    < name cfmenuitem = 'license' display = "License" href = "javascript:Coldfusion.navigate ('license.cfm', 'mainArea')" / > "
    < name cfmenuitem = "room" display = "Inventory" href = "javascript:Coldfusion.navigate ('roomSelect.cfm', 'mainArea')" / > "
    < name cfmenuitem = "notebook" display = "Administration of the laptop" href = "javascript:Coldfusion.navigate ('laptopAdmin.cfm', 'mainArea')" / > "
    < / cfmenuitem >
    < cfmenuitem display = "RACF" >
    "< name cfmenuitem ="RACFAdd"display =" RACF - add"href =" javascript:Coldfusion.navigate ('racfSearch.cfm', 'maiArean') "/ >
    < name cfmenuitem = "RACFSearch" display = "RACF search" href = "javascript:Coldfusion.navigate ('racfADD.cfm', 'mainArea')" / > "
    < / cfmenuitem >
    < cfmenuitem = "Tasks" view >
    < name cfmenuitem = "taskLog" display = "Task log" href = "javascript:Coldfusion.navigate ('taskLog.cfm', 'mainArea')" / > "
    < name cfmenuitem = "taskClosed" display = "Closed tasks" href = "javascript:Coldfusion.navigate ('taskLogClosed.cfm', 'mainArea')" / > "
    < / cfmenuitem >
    < display cfmenuitem = 'Change log' >
    < name cfmenuitem = "modificationAjoutez" display = "Add a new change" href = "javascript:Coldfusion.navigate ('changeAdd.cfm', 'mainArea')" / > "
    < name cfmenuitem = "recentChange" display = "Recent changes" href = "javascript:Coldfusion.navigate ('changeLog.cfm', 'mainArea')" / > "
    < name cfmenuitem = "changeArchive" display = "Change Archives" href = "javascript:Coldfusion.navigate ('changeArchive.cfm', 'mainArea')" / > "
    < / cfmenuitem >
    < cfmenuitem display = "Logout" href = "logout.cfm" > < / cfmenuitem >
    < / cfmenu >
    < / cflayoutarea >
    < name cflayoutarea = "mainArea" align = "center" style = "background-color: ##CCDBEF;" "height: 100%" >

    bla

    bla

    default bla stuff

    < / cflayoutarea >

    < / cflayout >

    There are 3 things that should fix it.

    (1) in the absence of at least one spelling: mainArea instead of maiArean in

    (2) respect for case-sensitive: use coldFusion.navigate instead of Coldfusion.navigate;

    (3) (this is probably a bug): Javascript in Coldfusion unit precede the name of the container of an element of cflayoutarea with cf_layoutarea. So, you have to replace all occurrences of 'mainArea' in the tags by 'cfmenuitemcf_layoutareamainArea'.

    Edit added: first make a test without the fix I suggested to 3). You do not have the fix in CF8, but it is certainly in CF9, where there is certainly a bug.

  • Coldfusion.Navigate works do not with vbox cflayoutarea

    Hi all.

    I don't understand why Coldfusion.Navigate does not work with a cflayoutarea type vBox.  The code is below (page1.cfm and page2.cfm are simple test pages).  For some reason, it works if the provision is of type border, but not on vbox or hbox.

    When you look at the generated HTML, you see that the div representing the layoutare doesn't have the correct id (should be "myContent", but is "cflayoutareamyContent")

    Someone at - he understands why?

    Thank you

    Scott

    <

    HTML >

    < head >

    < title > Example of page layout </ title >

    </ head >

    < body >

    < cflayout name="myVBox" type="vbox" >

    < cflayoutarea name="myHeader">

    < " a href= 'javascript:ColdFusion.navigate ('page1.cfm', 'myContent'); " > Page 1 </ a > |

    < " a href= 'javascript:ColdFusion.navigate ('page2.cfm', 'myContent'); " > Page 2 </ a >

    < / cflayoutarea >

    < cflayoutarea name="myContent" bindonload='true' source='page1.cfm'>

    < / cflayoutarea >

    < / cflayout >

    </ body >

    < /.

    HTML >

    You are not alone. I pointed out that as a bug in CF9 beta, as it worked until the last release candidate.

    From what I understood, the devs don't have to recognize it as a bug first, but rather just a feature not taken in charge more.

    However, a recent bug report response I got says this can be corrected in the next update. So cross your fingers.

    Solution 1: place cfdivs inside your cflayoutareas with matching names.

    Solution 2 (preferred): prefix your name layoutarea with 'cf_layoutarea '. To make the "xyz" comes from "cf_layoutareaxyz"

    I would like to do the conditional fix for the current version of CF9. (use the server variable. ColdFusion.ProductVersion)

    Cheers, - Ari

  • I have the incognito as a default value. How can I open a normal window?

    Normally you FF in privatebrowsing = false and start a new private window you do shift-control-p. I'm in the opposite: I privatebrowsing = true, but sometimes I want to store the history = > I need a shortcut to open a regular (non-private). Thank you.

    You can use an extension for private browsing mode support tab.

  • How can I open the sidebar bookmarks with a left click again?

    I used to be able to open the bookmarks bar by clicking the Favorites icon on my navigation bar.
    Now when I click the bookmarks icon in the navigation bar, it opens the drop-down list bookmarks.
    I realize, you can open the bookmarks with ctrl-B bar, but I'd love to be able to open the sidebar with a left click.
    The ideas people?
    Much love for the volunteer Mozilla btw.

    See the image at the bottom of this answer for 2 different buttons (click on the image to enlarge).

    You can also open or close the bookmarks with CTRL + B bar

    If this answer solved your problem, please click 'Solved It' next to this response when connected to the forum.

  • Diff between open-close-Fetch loop and For loop

    Cursor can be used in many ways. Need to know the difference between these 2 types.

    (1) open - close - cursor to retrieve data
    (2) because the loop open, close and then retrieves the data internally.

    No need to open manually, close, exit in case of loop statements For.

    Is there an any example where loop For cannot be used and open-close-Fetch must be used? Or any what performance advantage using Open-Close-Fetch instead of the loop For.

    If you use a Refcursor then you can't open it with the help OF the loop. You must manually open it and process. In terms of performance, I see no advantage of using a FOR LOOP on a slider of treatment manually. But using the loop looks neat and human tend to make mistake by closing the cursor when the fact at hand, but when you allow oracle to take care of her, she does it to perfection.

  • cfmenuitems no longer work after coldfusion.navigate

    There are times when you want to change slightly based on what a user menus.  It would be nice to simply "Refresh" menu (probably a cfdiv containing a cfmenu) using ColdFusion.navigate (.).  However, if your menu contains some cfmenuitems, they no longer appear ('dropdown') after completing the Navigate. If this is the intended behavior I think this is a major limitation.  (CF9 and CF8)

    code for my_test.cfm:

    < cfajaximport / >

    < cfdiv id="myDiv">

    < cfmenu ="my_menu" the name of type='horizontal'>

    < cfmenuitem ='options' from the name of display='My Options'>

    < cfmenuitem ='option1' from the name of display="Option 1" href="javascript:ColdFusion.navigate ('my_test.cfm', 'myDiv')" / > .

    < cfmenuitem ='option 2' from the name of display="Option 2" href="javascript:ColdFusion.navigate ('my_test.cfm', 'myDiv')" / > .

    < cfmenuitem ='option3' from the name of display="Option 3" href="javascript:ColdFusion.navigate ('my_test.cfm', 'myDiv')" / > .

    < / cfmenuitem >

    < / cfmenu >

    < / cfdiv >

    It turns out that if you remove one of these cfmenuitem before making the navigation the cfmenuitems works correctly...

  • I've recently migrated my iPhotos to Photos, perfectly worked for a few weeks, but suddenly today, I can't open my photos in pictures

    I recently migrated from iPhoto to Photos worked perfectly and I used it for a few weeks, but today I can open my pictures suddenly not in pictures. What's wrong?

    No idea since we can't see you - you must provide details - why you can't open pictures? What is going on? What is you get the exact error message? What version of the operating system and Photos you have?

    and there's a photo for Mac forum, which is where you can ask questions Photos - I will ask to be moved your message

    LN

  • Why can not open .doc attachments without having to pay for the Office?

    I get attachments for a lawyer to use land and other, and sometimes they will be .doc instead of pdf. I get that a lot of them to justify the cost of the Office ($6.99) per month. Why keep this office? Thanks.Phil

    I guess that's what you have configured in YOUR computer the software to open .doc files.
    You can download Open Office for free and open most of all the files that will open the office suite. Then, simply put YOUR computer to use instead of office.

  • How can I open ANY file on my PC. The habit of using file &gt; open &gt; filename

    Have Firefox 32.0.3.
    How can I open any file on my computer directly from firefox now?
    I used just click file > open > (filename) IE all my Open Office files.
    Files in Notepad, or any other file on my PC. Do not seem to have this capability
    with the new icon of the menu, or am I missing something.

    Hello cormact, you can customize the interface of firefox and put the open file button in the firefox menu: Customize Firefox commands, buttons, and toolbars

    or you can always open it with the keyboard shortcut ctrl + o...

  • Camileo H30: I can't open .avi using Pinnacle studio 14

    Nice day

    I can't open .avi in my studio from Pinnacle 14 of my Camileo H30

    Where is the problem and how resolution?

    Camileo H30, PC with Win7.

    Thank you.

    concerning
    /MH/

    Hi Macan,

    And why you can t open the .avi file? Do you have a Pinnacle Studio error message or what is exactly happening?
    Maybe you need to reinstall Pinnacle software

    By the way: you can open the file with another program like VLC media player?

Maybe you are looking for

  • My automatic import of photo stream?

    Is it possible to 'turn off' auto importing photos from my photo in the photo library stream, while being able to watch them or possibly save the ones I want? Like the good old of iPhoto is... I was hoping that the new version of Photos accompanied b

  • Overview: choose where place such as a circle or a text

    I used to be able to select the tool for editing (for example, the circle or the text), and then click in the PDF where I wanted it to go (according to official instructions: Select the text tool, and then click in your document where you want to pla

  • The update installation fails

    I reinstalled my Windows XP including Service Pack 3 operating system. After the installation I had to download several updates, they are all installed except one. "Microsoft .NET Framework 1.1. Service Pack 1 ". I get the message "cannot" and "was n

  • How to edit a television program recorded in media center 2002

    Using Media Center 2002, I recorded a show aired on NBC.  The program lasted 4 hours matching 9.75 GB.  I tried to use Microsoft movie maker to change the registered program to remove all of the many ads but the Director does not recognize the file. 

  • Watch USB key and not the Sansa player

    When I plugged in my sansa e260 v1 to the computer for the first time, I think what he recognized as a sansa e260.  Well, I wanted to get rid of the files of stock on the player that I did the format process (Virgin sansa.fmt file).  Well I did, and