Hi there,
I have found this nice upload tool which uses flash, html and Javascript.
But I really don’t know any of JavaScript, so I was hoping someone help me whith this:
This works on Internet Explorer in PC, but doesn’t work in Netscape PC or any Mac browser.
this is the code
<SCRIPT LANGUAGE=JavaScript>
function upit()
{
document.forms.upload.file.click()
while(document.forms.upload.file == “”)
{
setTimeout(100)
}
idio_controller()
}
function submitIt(){
document.upload.submit()
}
function idio_controller() {
var obj=parent.main.uploadflash;
if (obj) eval(‘obj.SetVariable(“filename”, “‘ + document.forms.upload.file.value + ‘”)’);
if (obj) eval(‘obj.SetVariable(“ficheiro”, “‘ + document.forms.upload.file.value + ‘”)’);
}
</SCRIPT>
Can someone point me into the right solution to make this multi platform?
Many thanks
Pluda