SourceTec Software

It is currently Thu Apr 24, 2014 1:27 pm

All times are UTC + 8 hours

Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: Mon Mar 15, 2010 9:58 am 

Joined: Mon Mar 15, 2010 9:35 am
Posts: 3
I'm new to this software and i'm using the trial version of the software to see if it will do what i'm trying to do.

Anyway, i'm trying to build the tree menu dynamically and i'm not having any luck. When i use a variable as the name of the Node, the software does not convert that variable into the Node name. I'm using a simple for loop to assign the variable. I have tried to use Text and HTML for the Node General setup and it is still not work. Any direction would be helpful.

Here is the code:

<body bgcolor="#FFFFFF" leftmargin="5" topmargin="5">
<a href="" style="display:none;visibility:hidden;">Javascript DHTML Tree Menu Powered by</a>
<script type="text/javascript">
for ($i = 0; $i < 10; $i++)
$CatName = $i;
stIT("p0i0",["<?=$CatName?>","","_self","","","file:///C|/Program%20Files%20%28x86%29/SourceTec/Sothink%20Tree%20Menu/resource/defIcon_c.gif","file:///C|/Program%20Files%20%28x86%29/SourceTec/Sothink%20Tree%20Menu/resource/defIcon_c.gif",18,18,"9pt 'Arial'","#000000","none","transparent","","no-repeat","9pt 'Arial'","#000000","underline","transparent","","no-repeat","9pt 'Arial'","#FFFFFF","none","#000099","","no-repeat","9pt 'Arial'","#FFFFFF","underline","#000099","","no-repeat",1,0,"left","middle",0,0,"","","","",0,0,0]);
stIT("p0i1",["Test","","_self","","","file:///C|/Program%20Files%20%28x86%29/SourceTec/Sothink%20Tree%20Menu/resource/defIcon_c.gif","file:///C|/Program%20Files%20%28x86%29/SourceTec/Sothink%20Tree%20Menu/resource/defIcon_c.gif",18,18,"9pt 'Arial'","#000000","none","transparent","","no-repeat","9pt 'Arial'","#000000","underline","transparent","","no-repeat","9pt 'Arial'","#FFFFFF","none","#000099","","no-repeat","9pt 'Arial'","#FFFFFF","underline","#000099","","no-repeat",1,0,"left","middle",0,0,"","","","",0,0,0]);

Also attached is the saved file for reference

Thanks for any help with this.

I figured the issue out. I needed to put the code in a PHP page.
If you are using Condition functionality then the code has to be part of your page it cannot be an include js file. Hope this helps others


You do not have the required permissions to view the files attached to this post.

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC + 8 hours

Who is online

Users browsing this forum: No registered users and 2 guests

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group