Does anyone know a tutorial on using jQuery django browser file tree. I followed this guide
http://www.abeautifulsite.net/blog/2008/03/jquery-file-tree/ , but I can't get it to work, im messed up with this code block:
$(document).ready( function() {
$('#explorer').fileTree({
root: '/windows/',
script: 'jqueryFileTree.py',
expandSpeed: 1000,
collapseSpeed: 1000,
multiFolder: True
}, function(file) {
alert(file);
});
});
question: in line ==> script: 'jqueryFileTree.py', jqueryFileTree.py in which directory will I put this file?
or maybe I can put the contents of jqueryFileTree.py in my view.py?
source
share