Project

General

Profile

Docs ModUploadProgress » index.html

example 1 - index.html - stbuehler, 2009-02-17 09:50

 
<html><head><title>Upload</title>

<script language="javascript">
var upfname='';
function startStatus()
{
var obj = document.getElementById('status');
if (obj != null)
{
obj.width = 450;
obj.height = 200;
obj.style.visibility = 'visible';
}
var obj2 = document.getElementById('up');

if (obj2 != null)
{
obj2.style.visibility = 'hidden';
obj2.width = 0;
obj2.height = 0;
}
}

function stopStatus()
{
var obj = document.getElementById('status');
if (obj != null)
{
obj.width = 0;
obj.height = 0;
obj.style.visibility = 'hidden';

}

var obj2 = document.getElementById('up');
if (obj2 != null)
{
obj2.style.visibility = 'visible';
obj2.width = 600;
obj2.height = 600;
}
}

function init()
{
var obj = document.getElementById('status');
if (obj != null)
{
obj.style.visibility = 'hidden';
obj.width = 0;
obj.height = 0;
}
var obj2 = document.getElementById('up');
if (obj2 != null)
{
obj2.style.visibility = 'visible';
obj2.width = 450;
obj2.height = 80;
}
}

</script></head><body>

<iframe name="up" target="up" id="up" src="upload.html/{TRACKING_ID}" border="0" frameborder="0" height="300" width="400"></iframe>
<iframe name="status" target="status" id="status" src="status.html/{TRACKING_ID}" border="0" frameborder="0" height="0" width="0"></iframe>


</body></html>
(1-1/3)