Author Topic: Javascript Help  (Read 2937 times)

0 Members and 1 Guest are viewing this topic.

Offline Gothtech

  • Occasional poster
  • *
  • Posts: 5
    • View Profile
    • http://www.twistedside.com
Javascript Help
« on: April 08, 2004, 03:17:39 AM »
Alright, i got this Nostree thing. and i want to add sub menus. but everytime i try. it becoms blank.

This is where its at, /http://javascript.cooldev.com/scripts/cooltree/

and this is how it looks.

var TREE_NODES = [
['Technology Stuff', null, null,
['News.com', 'http://www.news.com', '_top'],
['Slashdot.org', 'http://www.slashdot.org', '_top'],
['Web Building', null, null,
['JavaScript Kit', 'http://www.javascriptkit.com', '_top'],
['Dynamic Drive', 'http://www.dynamicdrive.com', '_top'],
['Freewarejava', 'http://freewarejava.com', '_top'],
],
],
['News stuff', null, null,
['CNN', 'http://www.cnn.com', '_top'],
['MSNBC', 'http://www.msnbc.com', '_top'],
['BBC News', 'http://news.bbc.co.uk', '_top'],
]
];

But, if i add the, i have probelms.

heres how i want my tree to look.

Band-
-Practices
-Get Togethers
School-
-Friends
-Stupid Stuff
Misc-
-Bordem
-Stupid Stuff
Friends-
-Jackie
-Gina
B2-Designer