Mostrando Codigo - Javascript
< HEAD>
< SCRIPT LANGUAGE= "JavaScript" >
var hellotext = "Web de webmasters para webmasters - Tutores.org"
var mi_texto = "" ;
var started = false ;
var step = 0 ;
var times = 1 ;
function texto_inicio( ) {
times--;
if ( ! times) {
if ( ! started) {
started = true ;
window.status = hellotext;
setTimeout( "animar_textos()" , 1 ) ;
}
mi_texto = hellotext;
}
}
function animar_textos( ) {
step++;
if ( step== 7 ) step = 1 ;
if ( step== 1 ) window.status = '>===' + mi_texto + '===<' ;
if ( step== 2 ) window.status = '=>==' + mi_texto + '==<=' ;
if ( step== 3 ) window.status = '>=>=' + mi_texto + '=<=<' ;
if ( step== 4 ) window.status = '=>=>' + mi_texto + '<=<=' ;
if ( step== 5 ) window.status = '==>=' + mi_texto + '=<==' ;
if ( step== 6 ) window.status = '===>' + mi_texto + '<==='
setTimeout( "animar_textos()" , 200 ) ;
}
</ script>
< BODY OnLoad= "texto_inicio()" >
ENLACE AL CODIGO
Si quieres enlazar desde tu pagina a este codigo
COMENTARIOS
Aun no existe ningun comentario para este Codigo.