Skip to forum content
Mif
— mystic javascript interface
You are not logged in. Please login or register.
Active topics Unanswered topics
Post new reply
Post new reply
Compose and post your new reply
You may use: BBCode Images Smilies
All fields labelled (Required) must be completed before the form is submitted.
Topic review (newest first)
1. Are You sure, that you run demo from server with php support? Use firebug to see that you received right response
2. It's ok, you should run demo from Demo/index.html
If your perl script return same json string as php, you only need change url
tree.load({
url: path/to/perl/script/getRoot
});
tree.loadOptions=function(node){
return {
url: path/to/perl/script/getChildren,
data: {'abs_path': node.data.abs_path}
};
};
Hi,
I have downloaded the MIF Tree version "mif.tree-v1.0-dev" from http://mifjs.net/tree/Download/index.html
I faced some issues when trying to run index.html under Demos for File Tree :
1. When i tried to run the demo of File Tree after downloading, the tree doesn't load and i get an error in IE saying "length is null".
2. If i go to Demos/FileTree to view index.html , i get errors like "invalid object" and "Mif" not defined.
Also, i want to use perl scripts in place of PHP to handle server requests. I have already written the perl equivalents of getRoot.php and getChildren.php which return data in the same format as PHPs.
It would be great is someone could give me some basic background about how to use the MIF tree. What HTML file to write? How to configure the javascript inorder to use AJAX?
Waiting for a quick response! 