you would have to usevar b = new WebFXTreeItem('Heroes','../clients/heroes.htm');b.target = 'C';a.add(b);

A bit cumbersome perhaps.

/Emil-------------------------------------------------------

How can I use the target property to make links for items added under a folder to open in my main content frame ("C"). I can make it work for folder level links but not items added underneath. Please the sample code below to illustrate... if (document.getElementById) { var tree = new WebFXTree('Home', '../people.htm'); tree.target = "C"; tree.setBehavior('classic'); tree.icon = 'images/PC.gif'; tree.openIcon = 'images/PC.gif'; var a = new WebFXTreeItem('Clients', '../clients/'); a.target = "C"; tree.add(a); a.add(new WebFXTreeItem('Heroes', '../clients/heroes.htm')); document.write(tree);}

Any help is greatly appreciated!

Reply

Name:

Email:

Subject:

Enter your reply to this message below. HTML tags are not supported but words that start with http://, ftp:// or mailto:
are converted to links.