princehyderabad
asked on
Temporary page between process
Hello,
I have a jsp which write to server. ie Uploading files from local to server machine. And my files size range from 100MB to 500MB.
I need to ask 2 things.
CAn I have a temperory page, once the form is submited, Can I put some running image and a text to say "Writiing to Server...." something..etc.,
eg: while attaching file on yahoo mail
Thanks
I have a jsp which write to server. ie Uploading files from local to server machine. And my files size range from 100MB to 500MB.
I need to ask 2 things.
CAn I have a temperory page, once the form is submited, Can I put some running image and a text to say "Writiing to Server...." something..etc.,
eg: while attaching file on yahoo mail
Thanks
Hi,
Hope this suggestion might help you....
You can do this using Javascript...When you choose upload btn you can trigger a popup window with an animated image saying "File is Uploading"
Bye
Binylkumar
Hope this suggestion might help you....
You can do this using Javascript...When you choose upload btn you can trigger a popup window with an animated image saying "File is Uploading"
Bye
Binylkumar
ASKER
cobol do you have any sample code for hidden layer .....
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
U mean:
function msg() {
document.getElementById('l yr').style .diplay='b lock';
}
...
<input type=submit name=upload onClick=javascript:msg()>
function msg() {
document.getElementById('l
}
...
<input type=submit name=upload onClick=javascript:msg()>
Yeah that looks about right.
Cd&
Cd&
ASKER
nothing is showing when I tried that ?
try it this way:
function msg(arg) {
document.getElementById('l yr').style .diplay='b lock';
setTimeout('arg.submit()', 500);
}
...
<input type="button" value="submit" name="upload" onClick="msg(this.form)">
Cd&
function msg(arg) {
document.getElementById('l
setTimeout('arg.submit()',
}
...
<input type="button" value="submit" name="upload" onClick="msg(this.form)">
Cd&
ASKER
I'm not getting any msg, though after 5 sec. form is getting submited. But not getting any msg of file uploading ... etc.,
-----------This was my code---------------
function msg(arg) {
document.getElementById('l yr').style .diplay='b lock';
setTimeout('arg.submit()', 500);
}
<form ...>
...
<input type="button" value="submit" name="upload" onClick="msg(this.form)">
</form>
<div id="lyr"
style="width:200px;height: 200px;posi tion:absol ute;left:1 00px;top:1 00px;z-ind ex:10;disp lay:none">
<h2> FILE IS UPLOADING...</h2>
<div>
I also tried to put "lyr" inside the form tag but still didnt worked
-----------This was my code---------------
function msg(arg) {
document.getElementById('l
setTimeout('arg.submit()',
}
<form ...>
...
<input type="button" value="submit" name="upload" onClick="msg(this.form)">
</form>
<div id="lyr"
style="width:200px;height:
<h2> FILE IS UPLOADING...</h2>
<div>
I also tried to put "lyr" inside the form tag but still didnt worked
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Guys can we make it more speicific or Animated Image related. Problem now I'm going thru is based on User screen (800pixel or 1024 px, or more ..) the display text is overlapping with other stuff.
Sure just post a new question.
Cd&
Cd&
Cd&