Pagina Completa
#1
Posted 27/03/2004, 20:38
Obs: isso naum é no flash.
pOR FAVOR ME ENSINEM PASSSO A PASSO.....
#2 felipensp
Posted 27/03/2004, 20:57
www.scriptfacil.com
#3
Posted 27/03/2004, 21:04
#4 felipensp
Posted 27/03/2004, 21:15
Mas tpo..... ele exibi as mensagem de carregando e tals...
daeh ele redireciona......
se servi para vc ta ae...:
<script> var intervals=500 var targetdestination="paginadois.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>
#5
Posted 27/03/2004, 21:21
o q eu substituo ????
#6 felipensp
Posted 27/03/2004, 21:32
pois ela irá apenas redirecionar.....
cria uma pagina chamada index.html
e escreva
<html>
<head>
<title>Titulo da pagina</title>
</head>
<body>
AKI O CÓDIGO Q EU PASSEI......
</body>
</html>
Substitui apenas o endereço q está no codigo..
var targetdestination="pagina.html"
Aonte tem pagina.html vc poe a pagina q irá aparecer dps da mensagem de carregando.....
#7
Posted 27/03/2004, 21:43
veja vc mesmo eu ja ate enviei o arquivo com esse codigo...
ve ae: www.warcraftnanet.hpg.ig.com.br/index2.htm
confira no codigo fonte, para ver si naum ta tudo correto...
ve ae cara
me ajuda alguem por favor!!!!!
#8 felipensp
Posted 27/03/2004, 21:51
#9
Posted 27/03/2004, 22:00
eu procurei nesse site + nem achei... fiquei perdido .... naum sei onde clicar ... me ajuda ae por favor........
#10 victor
Posted 27/03/2004, 22:52
#11
Posted 28/03/2004, 09:34
#12 victor
Posted 28/03/2004, 09:45
#13
Posted 28/03/2004, 10:58
so em javascript..
pega o anexo TNT
Attached Files
#14 victor
Posted 28/03/2004, 11:04
Ha o kra quer q apareça o tempo de carregamento....Eu pensei q podia aparecer...Carregando, ai mudava a paginahtml?
so em javascript..
pega o anexo TNT
#15
Posted 28/03/2004, 13:59
Vou fazer um que é bem menor que esse...
<div id="carregando" style="position: absolute; overflow: visible; top: 0px; left: 0px; width: 100%; height: 100%; background-color: #FFFFFF; z-index: 99;">
<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="100%" height="100%" align="center" valign="middle">
<font face="verdana" size="2"><strong>Carregando...</strong></font>
</td>
</tr>
</table>
</div>
Depois, acrescenta isto no <body>
<body (...) onLoad="document.getElementById('carregando').style.display = 'none';">
1 user(s) are reading this topic
0 membro(s), 1 visitante(s) e 0 membros anônimo(s)