Display animado
Publicado por rafael farias novaes 28/01/2009
[ Hits: 6.760 ]
Homepage: http://www.vivaolinux.com.br/perfil/verPerfil.php?login=bfmano
Download sobre menu display animado.txt
Cria um display animado.
<script language="javascript"> if (!document.layers && !document.all){ event = 'test'; } function showtip2( current, e, text){ if (document.all && document.readyState == "complete" ){ document.all.tooltip2.innerHTML = '<marquee style="border:1px solid black">'+ text +'</marquee>'; document.all.tooltip2.style.pixelLeft = event.clientX + document.body.scrollLeft + 10; document.all.tooltip2.style.pixelTop = event.clientY + document.body.scrollTop + 10; document.all.tooltip2.style.display = 'block'; } else if ( document.getElementById ){ document.getElementById('nstip').innerHTML = '<b>'+ text +'</b>'; document.getElementById('nstip').style.marginLeft = '0px'; document.getElementById('nstip').style.display = 'block'; currentscroll = setInterval('scrolltip()',100); document.getElementById('tooltip2').style.left = e.pageX + 10; document.getElementById('tooltip2').style.top = e.pageY + 10; document.getElementById('tooltip2').style.display = 'block'; } } function hidetip2(){ if (document.all){ document.all.tooltip2.style.display = 'none'; }else if (document.getElementById){ clearInterval(currentscroll); document.getElementById('tooltip2').style.display = 'none'; document.getElementById('nstip').style.display = 'none'; } } function scrolltip(){ if ( parseInt( document.getElementById('nstip').style.marginLeft ) >= -(parseInt( document.getElementById('nstip').style.width )) ){ document.getElementById('nstip').style.marginLeft = (parseInt( document.getElementById('nstip').style.marginLeft ) - 5) + 'px'; }else{ document.getElementById('nstip').style.marginLeft = '152px'; } } </script>
Trocar imagem quando o mouse estiver em cima da imagem
Mudando o layout dinamicamente
Mundando a classe css de uma tag dinamicamente
Aprenda a Gerenciar Permissões de Arquivos no Linux
Como transformar um áudio em vídeo com efeito de forma de onda (wave form)
Como aprovar Pull Requests em seu repositório Github via linha de comando
Visualizar arquivos em formato markdown (ex.: README.md) pelo terminal
Dando - teoricamente - um gás no Gnome-Shell do Arch Linux
Como instalar o Google Cloud CLI no Ubuntu/Debian
Mantenha seu Sistema Leve e Rápido com a Limpeza do APT!
Procurando vídeos de YouTube pelo terminal e assistindo via mpv (2025)
Pastas da raiz foram para a área de trabalho [RESOLVIDO] (7)
Sinto uma leve lentidão ao arrastar, miniminizar e restauras as janela... (0)
Zorin OS - Virtual Box não consigo abrir maquinas virtuais (6)