WebFX WebBoard
Message Thread:
View All Messages
Back to WebFX
 xTree Target, Xia Hui, September 27, 2003
     Re:xTree Target, Guilherme Blanco, September 27, 2003
         Re:xTree Target , Douglas Drury, October 3, 2003
             Re:xTree Target , Erik Arvidsson, October 3, 2003
         Re:xTree Target, Guilherme Blanco, September 27, 2003

Subject: Re:xTree Target From: Douglas Drury Date: October 3, 2003

OK, but what if you are using this format:

if (document.getElementById) {
 var tree = new WebFXTree('Root');
 tree.setBehavior('classic');
 var a = new WebFXTreeItem('1');
 tree.add(a);
 var b = new WebFXTreeItem('1.1');
 a.add(b);
 b.add(new WebFXTreeItem('1.1.1'));
 b.add(new WebFXTreeItem('1.1.2'));
 b.add(new WebFXTreeItem('1.1.3'));

.

.

.

How do you add the target when you are adding a new object without explicitly naming it first?

Thanks!

Doug

From: Guilherme Blanco
Sent: September 27, 2003
Subject: Re:xTree Target

tmp = new WebFXTreeItem('Text here', 'link.html');
tmp.target = "target_name";


[]s,
Guilherme Blanco





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.


View All Messages
Back to WebFX