jQuery File tree in Oracle APEX
MK1Oct 7 2011 — edited Oct 13 2011Hi,
I am trying to show the Windows explorer kind of view for the folders and files
residing in the remote server.
I have downloaded the jquery filetree plugin from this site: http://abeautifulsite.net/blog/2008/03/jquery-file-tree/
Steps i followed to implement in APEX:
1. Copied jqueryFileTree.php file in the apache http server root folder c:\app\product\ohs\config\OHS\ohs1
2. Uploaded jqueryFileTree.css file and images from Shared components in APEX application.
3. Copied the code from jqueryFileTree.js in the html header region of the page.
And i have the below code in the html header region to show the file explorer.
<script type="text/javascript">
$('#JQueryFTD_Demo').fileTree({
root: '/',
script: '/ohs1/jqueryFileTree.php',
expandSpeed: 1000,
collapseSpeed: 1000,
multiFolder: true
}, function(file) {
alert(file);
});
</script>
And, I have also created a region and marked the region header with div id="JQueryFTD_Demo"
The ISSUE is: When i run the the page i see the Blank page and i dont see the File explorer.
Can anybody tell me what i am doing wrong ?
I am using oracle APEX 4.0, running on oracle 11G, App server is Apache HTTP Server.
Thanks in advance. MK