WebFX WebBoard
Message Thread:
View All Messages
Back to WebFX
 Newbie - How do I get started:, Marty, April 21, 2004
     Re:Newbie - How do I get started:, manuel razzari, April 21, 2004

Subject: Re:Newbie - How do I get started: From: manuel razzari Date: April 21, 2004


Excuse me if you've got this covered Marty but, have you included the main script? As seen on the demo page, you need this files in your <head> before the new WebFXTree() call you've got.

<!-- The xtree script file --> <script src="xtree.js"></script>  <!-- Modify this file to change the way the tree looks --> <link type="text/css" rel="stylesheet" href="xtree.css">

<script language="JavaScript"> <!--
 var tree = new WebFXTree('Root');
 tree.add(new WebFXTreeItem('Tree Item 1'));
 tree.add(new WebFXTreeItem('Tree Item 2'));
 tree.add(new WebFXTreeItem('Tree Item 3'));
 document.write(tree);
--></script>

Sorry - I'm new to this. I downloaded WebFXTree components - and the USAGE notes: "To create a tree you won't have to write a single line of html however you will have to learn how to to create the tree and treeItem objects."

How do I create the tree & tree item objects. 

I'm doing this in front page and inserted the following:

but when I try to preview I get:

WebFXTree is undefined - Do you want to continue running scripts.

I assume that the object has to be 'registered' - how do I get started with this?




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