Carregamento
Publicado por Perfil removido 02/07/2007
[ Hits: 8.716 ]
Afim de acrescentar uma página descontraida no seu website?
Esta página carrega de 0% a 100% para poder chamar sua página inicial.
<!--By Vinicius C. Souza-->
<html>
<head>
<body bgcolor="#FFF" text="#FFFFFF">
<div id="splashcontainer" style="position:absolute;width:350"></div>
<layer id="splashcontainerns" width=729 height="19"></layer>
<script>
var intervals=500
var targetdestination="Principal.html"
var splashmessage=new Array()
var openingtags='<font face="Verdana" size="2" color=white><b>'
splashmessage[0]="carregando site- Processando 5%"
splashmessage[1]="carregando site- Processando 10%"
splashmessage[2]="carregando site- Processando 15%"
splashmessage[3]="carregando site- Processando 20%"
splashmessage[4]="carregando site- Processando 25%"
splashmessage[5]="carregando site- Processando 30%"
splashmessage[6]="carregando site- Processando 35%"
splashmessage[7]="carregando site- Processando 40%"
splashmessage[8]="carregando site- Processando 45%"
splashmessage[9]="carregando site- Processando 50%"
splashmessage[10]="carregando site- Processando 55%"
splashmessage[11]="carregando site- Processando 60%"
splashmessage[12]="carregando site- Processando 65%"
splashmessage[13]="carregando site- Processando 70%"
splashmessage[14]="carregando site- Processando 75%"
splashmessage[15]="carregando site- Processando 80%"
splashmessage[16]="carregando site- Processando 85%"
splashmessage[17]="carregando site- Processando 90%"
splashmessage[18]="carregando site- Processando 95%"
splashmessage[19]="carregando site- Processado 100%"
splashmessage[20]="carregamento completo"
var closingtags='</font>'
var i=0
function displaysplash_ie(){
if (i<splashmessage.length){
sc_ie.style.visibility="hidden"
sc_ie.innerHTML='<b><center>'+openingtags+splashmessage[i]+closingtags+'</center></b>'
sc_ie.style.top=document.body.scrollTop+document.body.clientHeight/2-sc_ie.offsetHeight/2
sc_ie.style.visibility="visible"
i++
}
else{
window.location=targetdestination
return
}
setTimeout("displaysplash_ie()",intervals)
}
function displaysplash_ns(){
if (i<splashmessage.length){
sc_ns.visibility="hide"
sc_ns.document.write('<b>'+openingtags+splashmessage[i]+closingtags+'</b>')
sc_ns.document.close()
sc_ns.left=pageXOffset+window.innerWidth/2-sc_ns.document.width/2
sc_ns.top=pageYOffset+window.innerHeight/2-sc_ns.document.height/2
sc_ns.visibility="show"
i++
}
else{
window.location=targetdestination
return
}
setTimeout("displaysplash_ns()",intervals)
}
function positionsplashcontainer(){
if (document.all){
sc_ie=document.all.splashcontainer
sc_ie.style.left=document.body.scrollLeft+document.body.clientWidth/2-sc_ie.offsetWidth/2
sc_ie.style.top=document.body.scrollTop+document.body.clientHeight/2-sc_ie.offsetHeight/2
displaysplash_ie()
}
else if (document.layers){
sc_ns=document.splashcontainerns
sc_ns.left=pageXOffset+window.innerWidth/2-sc_ns.document.width/2
sc_ns.top=pageYOffset+window.innerHeight/2-sc_ns.document.height/2
sc_ns.visibility="show"
displaysplash_ns()
}
else
window.location=targetdestination
}
window.onload=positionsplashcontainer
</script>
</body>
</html>
Manda Mensagem Icq ao clicar no link
Fscrypt: protegendo arquivos do seu usuário sem a lentidão padrão de criptograr o disco
Faça suas próprias atualizações de pacotes/programas no Void Linux e torne-se um Contribuidor
Como rodar o Folding@home no Linux
Criando um painel de controle (Dashboard) para seu servidor com o Homepage
O Abismo entre o Código e o Chão: Saltos Tecnológicos e a Exclusão Estrutural no Brasil
Pisando no acelerador do Linux Mint: Kernel XanMod, zRAM e Ajustes de Swap
Como compilar kernel no Linux Mint
Lançamento do Brutal DOOM test 6
Consertando o erro no Brave de webgl
Solução para ter de volta as bordas e barra de títulos das janelas em zenity no Debian 13.x
Seno, Coseno, Tangente em CLIPPER (1)
Inserir uma URL num arquvo pelo Ubuntu (CLIPPER) (0)
VMWare Player não conecta na rede nem consigo intercambiar arquivos (1)









