Jump to content


Photo

Carregando ...


  • Faça o login para participar
3 replies to this topic

#1 pgnall

pgnall

    Enable

  • Usuários
  • 383 posts
  • Sexo:Masculino
  • Localidade:http://eduardo.sganzerla.net

Posted 10/08/2003, 13:42

ai pessoal como eu daço um loading que nem deste site:

http://www.netport.e...b.com/index.php
Eduardo Sganzerla
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀


www.Eu Sei Escrever.com.br - Adote esta campanha!

#2 klesk

klesk

    Turista

  • Usuários
  • 39 posts
  • Sexo:Não informado
  • Localidade:Porto Alegre
  • Interesses:Webdesign / Programação

Posted 11/08/2003, 16:31

tente isso....

<html>
<head>
<style type="text/css">
#divLoadCont{position:absolute; width:100%; height:98%; top:0; left:0; background-color:white; layer-background-color:white; font-family:arial,helvetica; z-index:100}
</style>
<script>

function checkBrowser(){
  this.ver=navigator.appVersion
  this.dom=document.getElementById?1:0
  this.ie5=(this.ver.indexOf("MSIE 5")>-1 && this.dom)?1:0;
  this.ie4=(document.all && !this.dom)?1:0;
  this.ns5=(this.dom && parseInt(this.ver) >= 5) ?1:0;
  this.ns4=(document.layers && !this.dom)?1:0;
  this.bw=(this.ie5 || this.ie4 || this.ns4 || this.ns5)
  return this
}
bw=new checkBrowser()

function hideIt(div){
  if(bw.bw){
      div="divLoadCont"
      obj=bw.dom?document.getElementById(div).style:bw.ie4?document.all[div].style:bw.ns4?document[div]:0;
      obj.visibility='hidden'
  }
}
onload=hideIt;
</script>
</head>

<body>
<script>
if(bw.bw) document.write('<div id="divLoadCont"><table width="100%" height="95%" align="center" valign="middle"><tr><td width="100%" height="100%" align="center" valign="middle"><h3>Carregando....</h3></td></tr></table></div>')
</script>

SEU SITE VEM AQUI....
</body>
</html>


:ok:

#3 pgnall

pgnall

    Enable

  • Usuários
  • 383 posts
  • Sexo:Masculino
  • Localidade:http://eduardo.sganzerla.net

Posted 14/08/2003, 14:51

O cara eu queria que aparece-se a porcentagem entende?


po algum ajuda ai, se eu naum me engano o cara que fez esse site é aqui do forum


valeu
Eduardo Sganzerla
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀


www.Eu Sei Escrever.com.br - Adote esta campanha!

#4 Dinho Z.

Dinho Z.

    Rock'n'Roll !!! Yeah !!!

  • Usuários
  • 755 posts
  • Sexo:Não informado
  • Localidade:Santo André - SP

Posted 15/08/2003, 08:25

Descobri o código, só que ele é em VBScript... Coloque dentro do <body>:

<script Language="VBScript">
<!--
Dim Bar, Line, SP
Bar = 0 
Line = "|"
SP = 100

Function Window_onLoad()
Bar = 95
SP = 10
End Function

Function Count()
If Bar < 100 Then
Bar = Bar + 1
Window.Status = "Carregando : " & Bar & "%" & " " & String(Bar, Line)
setTimeout "Count()", SP
Else
Window.Status = "Rock Brasil !!!"
Document.Body.Style.Display = "" 
End If 
End Function

Call Count()
-->
</Script>

Dúvidas, poste...
Dinho

Ajude a proibir os "jabás" nas rádios brasileiras.
Mas, afinal, o que é o "jabá"?!? acesse Rock Brasil
Acesse Fórum SOS Designers
Coluna de JavaScript/CSS do Upmasters




1 user(s) are reading this topic

0 membro(s), 1 visitante(s) e 0 membros anônimo(s)

IPB Skin By Virteq