PDA

View Full Version : Simple Tree Menu Errors



carteray
10-18-2006, 05:53 PM
1) Script Title: Simple Tree Menu

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex1/navigate1.htm

3) Describe problem: The code causes a javascript error to appear at the bottom of the page. Specifically it say says that
var ultags=document.getElementById(treeid).getElementsByTagName("ul")
is not defined

Thanks for the help with this. I submitted once before but did not receive a response.

ddadmin
10-18-2006, 10:22 PM
Do you get this error in the demo page on DD as well? What browser are you using? This script was tested in IE6 (win), Firefox 1.x (win) and Opera 8 without problems.

carteray
10-20-2006, 08:13 PM
I did not see the error in the example and I am using Internet Explorer. Do you know why that specific line is causing the problem?:eek:

swati s
02-18-2011, 02:49 PM
Please help me my simple tree menu is not working on firefox. By default in firefox my tree is opening in expanded mode. whereas in IE its working fine.
Please find the code attached. All the functinality is working fine in IE. Like after Contracting the tree when i open node by node in IE it works as expected but in firefox when i try the same only first child opens up.
Please help me its very urgent.