Ir para conteúdo
Fórum Script Brasil
  • 0

Status


Guest Marcelo

Pergunta

8 respostass a esta questão

Posts Recomendados

  • 0

você falou que não precisava ser animado mas só achei esse animado :(

<script language="JavaScript">
var hellotext=" SEU_TEXTO "
var thetext=""
var started=false
var step=0
var times=1
 function welcometext()
    {
      times--
      if (times==0)
      {
        if (started==false)
        {
          started = true;
          window.status = hellotext;
          setTimeout("anim()",1);
        }
        thetext = hellotext;
      }
    }
 function showstatustext(txt)
    {
      thetext = txt;
      setTimeout("welcometext()",4000)
      times++
    }
 function anim()
    {
     step++
      if (step==11) {step=1}
      if (step==1) {window.status='>======='+thetext+'=======<'}
      if (step==2) {window.status='>>======'+thetext+'======<<'}
      if (step==3) {window.status='=>>====='+thetext+'=====<<='}
      if (step==4) {window.status='==>>===='+thetext+'====<<=='}
      if (step==5) {window.status='===>>==='+thetext+'===<<==='}
      if (step==6) {window.status='====>>=='+thetext+'==<<===='}
      if (step==7) {window.status='=====>>='+thetext+'=<<====='}
      if (step==8) {window.status='======>>'+thetext+'<<======'}
      if (step==9) {window.status='=======>'+thetext+'<======='}
      if (step==10){window.status='========'+thetext+'========'}
      setTimeout("anim()",150);
    }
welcometext();
</script>

Link para o comentário
Compartilhar em outros sites

  • 0

você pode colocar esse q é muito mais loko..

ele vai rolando a msg na barra...

<script>

<!-- Hide from old browsers

// All you have to do is put another text in the variable message.

// Don't forget to break all lines with a ^

// When you do not place a ^ at the end of all the message, the

// message will not repeat

message = "Sejam Bem Vindos a minha pagina.^" +

"Espero que você goste.^" +

"Aqui você encontrará tudo o que você prescisa.^" +

"Sobre o mundo da informatica.^" +

"Temos varias materias.^" +

"É só acessar: www.valterbj.hpg.com.br ^" +

"Valter entre e se divirta . ^" +

"^"

scrollSpeed = 25

lineDelay = 1500

// Do not change the text below //

txt = ""

function scrollText(pos) {

if (message.charAt(pos) != '^') {

txt = txt + message.charAt(pos)

status = txt

pauze = scrollSpeed

}

else {

pauze = lineDelay

txt = ""

if (pos == message.length-1) pos = -1

}

pos++

setTimeout("scrollText('"+pos+"')",pauze)

}

// Unhide -->

scrollText(0)

</script>

Link para o comentário
Compartilhar em outros sites

Participe da discussão

Você pode postar agora e se registrar depois. Se você já tem uma conta, acesse agora para postar com sua conta.

Visitante
Responder esta pergunta...

×   Você colou conteúdo com formatação.   Remover formatação

  Apenas 75 emoticons são permitidos.

×   Seu link foi incorporado automaticamente.   Exibir como um link em vez disso

×   Seu conteúdo anterior foi restaurado.   Limpar Editor

×   Você não pode colar imagens diretamente. Carregar ou inserir imagens do URL.



  • Estatísticas dos Fóruns

    • Tópicos
      152k
    • Posts
      651,8k
×
×
  • Criar Novo...