By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,636 Members | 1,213 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,636 IT Pros & Developers. It's quick & easy.

Redirect after download

P: n/a
My objective is to redirect to another web page after download is
complete.

I have an activeX called to download a few dlls using the following
code

document.writeln(' <OBJECT ID="MQC" ');
document.writeln(' CLASSID="CLSID:98c53984-8bf8-4d11-9b1c-c324fca9ca"
');
document.writeln(' CODEBASE="test.ocx#Version=9,1,0,4359"');
document.writeln(' WIDTH=100% ');
document.writeln(' HEIGHT=100% >');
document.writeln(' <PARAM NAME="DomainPassword" value=""');
document.writeln(' <PARAM NAME="RootURL" value="' + getTdRootURL()
+'"');
document.writeln(' </OBJECT>');

I tried redirecting in the onLoad event of the form but doesn't work. I
suppose it redirects as soon as the activeX is loaded and not when it
has finished its download.

How do I accomplish this?

TIA
Harold

Sep 13 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
ASM
ha*************@gmail.com a écrit :
My objective is to redirect to another web page after download is
complete.
It is exactly what does :

<body onload="myRedirectFunction()" ...
I have an activeX called to download a few dlls
[...]
I tried redirecting in the onLoad event of the form but doesn't work. I
suppose it redirects as soon as the activeX is loaded and not when it
has finished its download.
Could be a possibility, activeX running independently of browser.
How do I accomplish this?
Have a variable in your myRedirectFunction
waiting some confirm given by your <objectwhen activeX has finished
it's job.
or something else in this way in yours writeln ?
--
Stephane Moriaux et son [moins] vieux Mac
Sep 13 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.