Skip to main content
August 12, 2013
Question

coldfusion 10. cfmenu not working. error is 'this.body.firstChild' is null or not an object

  • August 12, 2013
  • 1 reply
  • 1155 views

I am using coldfusion 10. cfmenu not working. Error is 'this.body.firstChild' is null or not an object in menu-min.js file.

Error in line oNode=this.body.firstChild.

Any body faced same issue? What is the fix of this error.

    This topic has been closed for replies.

    1 reply

    vishu_13
    Inspiring
    August 12, 2013

    Hi

    Can you share the code to test?

    Also, if possible can you test the cfmenu example (at the bottom of the page) code from the link mentioned below and share your findings

    https://learn.adobe.com/wiki/display/coldfusionen/cfmenu

    Thanks

    VJ

    August 12, 2013

    I have used the same code.

    <cfmenu name="menu" type="horizontal" fontsize="14" bgcolor="##CCFFFF">

        <cfmenuitem name="acrobat" href="http://www.adobe.com/acrobat" display="Acrobat"/>

        <cfmenuitem name="aftereffects" href="http://www.adobe.com/aftereffects"

            display="After Effects"/>

        <!--- The ColdFusion menu item has a pop-up menu. --->

        <cfmenuitem name="coldfusion"

                href="http://www.adobe.com/products/coldfusion" display="ColdFusion">

            <cfmenuitem name="buy"

                href="http://www.adobe.com/products/coldfusion/buy/" display="Buy"/>

            <cfmenuitem name="devcenter"

                href="http://www.adobe.com/devnet/coldfusion/" display="Developer Center"/>

            <cfmenuitem name="documentation"

                href="http://www.adobe.com/support/documentation/en/coldfusion/"

                    display="Documentation"/>

            <cfmenuitem name="support" href="http://www.adobe.com/support/coldfusion/"

                display="Support"/>

        </cfmenuitem>

        <cfmenuitem name="flex" href="http://www.adobe.com/flex" display="Flex"/>

    </cfmenu>

    vishu_13
    Inspiring
    August 12, 2013

    Is your ColdFusion 10 Application service running as local system, if not then try?

    Which Browser you are using? Try and test with different browsers

    Thanks

    VJ