Docs/ModUploadProgress: index.html

File index.html, 2.2 kB (added by Terminar, 1 year ago)

index page containing the iframes

Line 
1 <html><head><title>Upload</title>
2
3    
4    
5     <script language="javascript">
6             var upfname='';
7            
8             function startStatus()
9             {
10                 var obj = document.getElementById('status');
11                 if (obj != null)
12                 {
13                         obj.width = 450;
14                         obj.height = 200;
15                         obj.style.visibility = 'visible';
16                 }
17                
18                 var obj2 = document.getElementById('up');
19
20                 if (obj2 != null)
21                 {
22                    obj2.style.visibility = 'hidden';
23                    obj2.width = 0;
24                    obj2.height = 0;
25                 }
26                
27             }
28
29             function stopStatus()
30             {
31                 var obj = document.getElementById('status');
32                 if (obj != null)
33                 {
34                         obj.width = 0;
35                         obj.height = 0;
36                         obj.style.visibility = 'hidden';
37
38                 }
39
40                 var obj2 = document.getElementById('up');
41                 if (obj2 != null)
42                 {
43                    obj2.style.visibility = 'visible';
44                    obj2.width = 600;
45                    obj2.height = 600;
46                    
47                 }
48                
49             }
50
51             function init()
52             {
53                
54                 var obj = document.getElementById('status');
55                 if (obj != null)
56                 {
57                     obj.style.visibility = 'hidden';
58                     obj.width = 0;
59                     obj.height = 0;
60                 }
61                 var obj2 = document.getElementById('up');
62                 if (obj2 != null)
63                 {
64                     obj2.style.visibility = 'visible';
65                     obj2.width = 450;
66                     obj2.height = 80;
67                 }
68             }
69
70             </script></head><body>
71
72 <iframe name="up" target="up" id="up" src="upload.html/{TRACKING_ID}" border="0" frameborder="0" height="300" width="400"></iframe>
73 <iframe name="status" target="status" id="status" src="status.html/{TRACKING_ID}" border="0" frameborder="0" height="0" width="0"></iframe>
74
75
76 </body></html>