<script language="javascript">
function DisplayMessage()
{
var layMes = document.getElementById("layerMessage");
layMes.style.visibility = "visible";
setInterval("DisplayDot();",800);
}
function DisplayDot()
{
var layMes = document.getElementById("layerMessage");
var message = layMes.innerText;
if(message.indexOf('.....') != -1)
{
layMes.innerText = "文件正在上传,请稍候.";
}
else if(message.indexOf('....') != -1)
{
layMes.innerText = "文件正在上传,请稍候.....";
}
else if(message.indexOf('...') != -1)
{
layMes.innerText = "文件正在上传,请稍候....";
}
else if(message.indexOf('..') != -1)
{
layMes.innerText = "文件正在上传,请稍候...";
}
else if(message.indexOf('.') != -1)
{
layMes.innerText = "文件正在上传,请稍候..";
}
}
</script>