PDA

View Full Version : Smart Folding Menu Tree Script



Home
11-14-2004, 11:48 PM
Smart Folding Menu Tree Script (http://www.dynamicdrive.com/dynamicindex1/navigate1.htm)

I made a page using the "Smart Folding Menu Tree Script" and it works perfectly in Internet Explorer.

But, When I use Firefox and try to expand the menus I get this:
Error: cur.nextSibling has no properties
Line: 140

if (iscontained){
var foldercontent=ns6? cur.nextSibling.nextSibling : cur.all.tags("UL")[0]
if (foldercontent.style.display=="none"){
foldercontent.style.display=""
cur.style.listStyleImage="url(open.gif)"



I haven't got a clue ... Anyone?



.

ultramagna
11-14-2004, 11:51 PM
We would all like these scripts to work with all the browsers, but it states it only works with ie, just like the script i would like to work in firefox :)

Home
11-15-2004, 03:40 PM
It does work with Firefox, but I did something wrong and now it doesn't work...

I have one page that works fine but the other one doesn't.

I'm making a new page now and this time i hope it works.

ddadmin
11-16-2004, 04:11 AM
The script should work in Firefox, assuming you didn't modify it incorrectly. To confirm this, test out the demo on DD using Firefox.

Home
11-16-2004, 05:02 AM
It does work. It's just me.

I made a huge list of links using folders and sub folders.
I've decided to use EmEditor instead of Frontpage. Because Frontpage keeps messing up the script. I have it almost under control, Thanks!