/    Sign up×
Community /Pin to ProfileBookmark

multiple browser behavior (Mac needed)

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

to post a comment
JavaScript

0Be the first to comment 😎

×

Success!

Help @pluda spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.26,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...