It doesn’t seem obvious that file can be dropped on the vault.
Is there a way to customize the UI? e.g. to initially show ‘drag and drop files here’ message when the vault UI pops up?
Regards,
Yahya
It doesn’t seem obvious that file can be dropped on the vault.
Is there a way to customize the UI? e.g. to initially show ‘drag and drop files here’ message when the vault UI pops up?
Regards,
Yahya
See if this helps you get started
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="../api/dhtmlx/dhtmlxVault/codebase/skins/dhtmlxvault_dhx_skyblue.css"/>
<script src="../api/dhtmlx/dhtmlxVault/codebase/dhtmlxcommon.js"></script>
<script src="../api/dhtmlx/dhtmlxVault/codebase/swfobject.js"></script>
<script src="../api/dhtmlx/dhtmlxVault/codebase/dhtmlxvault.js"></script>
<style>
div.sample_title {
font-size: 16px;
font-family: Tahoma;
color: #303030;
font-weight: bold;
margin: 15px 1px;
}
</style>
<script>
var myVault;
function doOnLoad() {
dhtmlxAjax.get("upload/upload_conf.php", function(r) {
var t = null;
try {
eval("t=" + r.xmlDoc.responseText);
} catch(e) {};
if (t != null) {
// extend conf;
t.skin = "dhx_skyblue";
t.autoStart = true;
// start upload right after file added;
t.autoRemove = true;
// remove file from list right after upload done;
t.buttonUpload = true;
// show/do_not_show upload/stop buttons;
t.buttonClear = true;
// show/do_not_show clear_all button;
t.filesLimit = 3;
// correspinding number or skip or zero to ignore;
// init;
myVault = new dhtmlXVaultObject(t);
}
});
}
doOnLoad();
</script>
<div class="sample_title">Simple init</div>
<div id="vaultObj" style="width:400px; height:250px;"></div>
Strange - this got posted to the wrong thread. Sorry.
Hi
thanks for comments, we will think on this feature