WebFX WebBoard
Message Thread:
View All Messages
Back to WebFX
 Xtree, frames and targets, TimT, March 3, 2004
     Re:Xtree, frames and targets , Guillermo, March 4, 2004
     Re:Xtree, frames and targets, Emil A Eklund, March 3, 2004
         Re:Xtree, frames and targets, Erik Arvidsson, March 4, 2004
         Re:Xtree, frames and targets, TimT, March 3, 2004
             Re:Xtree, frames and targets, Emil A Eklund, March 4, 2004

Subject: Re:Xtree, frames and targets From: Guillermo Date: March 4, 2004

Or you could jut simply use this:

javascript: document.FrameName.location.replace(\'page.html\')

as a link... works for me.


 

From: TimT
Sent: March 2, 2004
Subject: Re:Xtree, frames and targets

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.


View All Messages
Back to WebFX