Board Logo

listing given dir to link dynamically tree menu
maxbre - 6/22/2010 at 03:25 PM

<script language="JavaScript">
<!--//
var data = <? ... here the code in order to pass the listing of items in a given dir and related subdir ... ?>

new tree (data, TREE_TPL);
//-->
</script>



I know this issue has already been covered in this forum but apparently I can not find a proper solution.
I want to link let?s say dynamically the tigra tree menu to the structure of a given directory and related subdirs
What I?m missing is the code to do to generate the listing of the tree items! Is it possible by calling some jscript commands?
Please any help or hint for this?
Thank you

A very novice on jscripting


Softcomplex: http://www.softcomplex.com/
Back to forum: http://www.softcomplex.com/forum/