Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
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 findingshttps://learn.adobe.com/wiki/display/coldfusionen/cfmenu
Thanks
VJ
Copy link to clipboard
Copied
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>
Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
I am not using local system. In server I am trying and checking in local system browser.
I am using IE8 where getting the error. Have checked in firefox, no javascript error but dropdown menus are not appearing.
Copy link to clipboard
Copied
If possible, run CF 10 service as local system just for testing purpose. (It might not bring any difference however give it a try)
Is it possible for you to reset IE 8 and then test?
My results with the above :
Copy link to clipboard
Copied
I have reset the IE but no luck.
The error is in this page "CFIDE/scripts/ajax/yui/menu/menu-min.js"