Ver Mensaje Individual
  #4 (permalink)  
Antiguo 29/03/2005, 12:06
Avatar de Bunker
Bunker
(Desactivado)
 
Fecha de Ingreso: marzo-2005
Ubicación: .::Florida-Usa::.
Mensajes: 234
Antigüedad: 19 años, 1 mes
Puntos: 0
hola augusto prueba con esto a ver que tal!!!

<script language="JavaScript">
<!--
var current = 0
var x = 0
var speed = 100
var speed2 = 2000

function initArray(n) {
this.length = n;
for (var i =1; i <= n; i++) {
this[i] = ' '
}
}

typ = new initArray(4)
typ[0]="mensaje 1..."
typ[1]="mensaje 2..."
typ[2]="mensaje 3..."
typ[3]="mensaje 4..."

function typewrite() {
var m = typ[current]

window.status = m.substring(0, x++) + "_"

if (x == m.length + 1) {
x = 0
current++

if (current > typ.length - 1) {
current = 0
}

setTimeout("typewrite()", speed2)
}

else {
setTimeout("typewrite()", speed)
}
}

typewrite()
//-->

</script>

----------------------------------------------------------------------------------
otro:

<script language="JavaScript">
<!--
/* MjM'S JAVA CODENAME = FLASH
This JavaScript Code was written by MjM for Hyperchat UK
I am not responsible for any damage caused by my code.
This code can be modified as long as the Author's Name is still attached.
Email : [email protected]
© Copyright 1996
*/
var yourwords = "¡Holaaa, estoy aquí, en la oficinaaaaaa!.";
var speed = 300;
var control = 1;
function flash()
{
if (control == 1)
{
window.status=yourwords;
control=0;
}
else
{
window.status="";
control=1;
}
setTimeout("flash();",speed);
}
// -->
</script>

---------------------------------------------------------------------------------

otro:

<script language="javascript">
<!--- Hiding from older browsers


/************************************************** ********
* *
* *
* Scrolling Text Script by Vivian Jason *
* *
* Please leave this header intact *
* *
* if you use this script *
* *
* E-mail : [email protected] *
* *
* *
************************************************** ********/


// Array declaration, Don't tamper with....

messages = new Array(1);




// Add any number of messages....
// Only number them messages[0],messages[1],messages[2] and so on ...


messages[0]="Me llamo Vivian Jason...";
messages[1]="Vivo en la India...";
messages[2]="Tengo 19 años...";
messages[3]="Me gusta jugar al ajedrez en internet...";
messages[4]="Me lo paso genial...";
messages[5]="Este es el sexto mensaje...";
messages[6]="Espero que funcione...";
messages[7]="Ahora debo irmee...";




// End of all your messages...
// Ensure messages are properly numbered... Critical for proper execution of script...





scroll_speed=40; // Change this value to change text scrolling speed...

times = 5; // Determines how many times each message is displayed...

// Setting 'times' to '-1' causes the messages to scroll forever...





// Do not edit below this line...


window.status=""; // Necessary to make the script work cleanly with NetScape...


function scroll_text(current_message, index)
{

if (times == 0) return 0;


c=current_message; i=index;

if (c == messages.length)
{
window.status="";
setTimeout("scroll_text(0,0)",scroll_speed);
times--;
}

else if (i > messages[c].length)
{
window.status="";
c++;
setTimeout("scroll_text(c,0)",scroll_speed);
}

else
{
window.status += messages[c].charAt(i);
i++;
setTimeout("scroll_text(c,i)",scroll_speed);
}
}
scroll_text(0,0); /* this starts it going */
// Script ends here...
// Ending Hiding from older browsers... -->
</script>

espero que sirva, suerte!!!!