|
|
|
 |
Foros de Programacion - Cominidad de Programadores |
|
|
|
 |

28 de abril,2005, 11:24
|
|
|
Tagbox
Hola, estoy buscando algun script de mensajes de esos que no hay que poner nick, y que vayan pasando los mensajes por un cuadro de texto como si fuesen los creditos de una película...no se si me explico...Es algo así como un pequeño tablon de anuncios animado...
Me he bajado e instalado ya unos cuantos scripts, pero ninguno son exactamente lo que busco..., y por lo que he leido creo que el tal Tagbox ese hace exactamente eso, pero no hay forma de encontrarlo.
¿Alguien sabe donde puedo encontrar este script o alguno que haga lo que he dicho?
Si alguien lo sabe por favor que me lo diga...Muchas gracias.
|

28 de abril,2005, 11:58
|
|
|
Re: Tagbox
Cita:
|
Iniciado por Alextroy
Hola, estoy buscando algun script de mensajes de esos que no hay que poner nick, y que vayan pasando los mensajes por un cuadro de texto como si fuesen los creditos de una película...no se si me explico...Es algo así como un pequeño tablon de anuncios animado...
Me he bajado e instalado ya unos cuantos scripts, pero ninguno son exactamente lo que busco..., y por lo que he leido creo que el tal Tagbox ese hace exactamente eso, pero no hay forma de encontrarlo.
¿Alguien sabe donde puedo encontrar este script o alguno que haga lo que he dicho?
Si alguien lo sabe por favor que me lo diga...Muchas gracias.
|
este es algo parecido, no identico a lo que quieres a ver si te vale
Código:
<script language="JavaScript1.2">
/*
Typing Text Script-
Last updated: 99/06/17
© Dynamic Drive (www.dynamicdrive.com)
For full source code, installation instructions,
100's more DHTML scripts, and Terms Of
Use, visit dynamicdrive.com
*/
var it=0
function initialize(){
mytext=typing.innerText
var myheight=typing.offsetHeight
typing.innerText=''
document.all.typing.style.height=myheight
document.all.typing.style.visibility="visible"
typeit()
}
function typeit(){
typing.insertAdjacentText("beforeEnd",mytext.charAt(it))
if (it<mytext.length-1){
it++
setTimeout("typeit()",100)
}
else
return
}
if (document.all)
document.body.onload=initialize
</script>
<span id="typing" style="visibility:hidden" align="left">Welcome to Dynamic Drive, the primer place on the net to get FREE Dynamic HTML scripts to enhance your web site! All scripts on this site take advantage of fourth generation browsers (IE 4.x and/or NS 4.x), with emphasis on practicality and backwards compatibility, to bring true power and interactivity to your site. The majority of scripts here are written by the programmers right here at Dynamic Drive, and cannot be found anywhere else on the net. Enjoy!</span>
|

28 de abril,2005, 12:01
|
|
|
otro ejemplo
Cita:
<script language="JavaScript1.2">
/*
Shock Wave Text script- By ejl@worldmailer.com
Submitted to and featured on Dynamic Drive (www.dynamicdrive.com)
For full source code, usage terms, and 100's more DHTML scripts, visit http://dynamicdrive.com
*/
var size = 25;
var speed_between_messages=1500 //in miliseconds
var tekst = new Array()
{
tekst[0] = "Shock Wave text @ Dynamicdrive.com";
tekst[1] = "Here you can type anything you want";
tekst[2] = "You can change the size";
tekst[3] = "And you can change the speed";
}
var klaar = 0;
var s = 0;
var veran =0;
var tel = 0;
function bereken(i,Lengte)
{
return (size*Math.abs( Math.sin(i/(Lengte/3.14))) );
}
function motor(p)
{
var output = "";
for(w = 0;w < tekst[s].length - klaar+1; w++)
{
q = bereken(w/2 + p,16);
if (q > size - 0.5)
{klaar++;}
if (q < 5)
{tel++;
if (tel > 1)
{
tel = 0;
if (veran == 1)
{
veran = 0;
s++;
if ( s == tekst.length)
{s = 0;}
p = 0;
if (window.loop)
{clearInterval(loop)}
loop = motor();
}
}
}
output += "<font style='font-size: "+ q +"pt'>" +tekst[s].substring(w,w+1)+ "</font>";
}
for(k=w;k<klaar+w;k++)
{
output += "<font style='font-size: " + size + "pt'>" +tekst[s].substring(k,k+1)+ "</font>";
}
idee.innerHTML = output;
}
function startmotor(p){
if (!document.all)
return
var loop = motor(p);
if (window.time)
{clearInterval(time)}
if (klaar == tekst[s].length)
{
klaar = 0;
veran = 1;
tel = 0;
var time = setTimeout("startmotor(" +(p+1) + ")", speed_between_messages);
}else
{
var time =setTimeout("startmotor(" +(p+1) + ")", 50);
}
}
</script>
<div ID="idee"></div>
|
|

28 de abril,2005, 12:02
|
|
|
Re: Tagbox
se me olvidaba ...hay que poner en el body esto
Código:
<body onload="startmotor(0)">
|
| Herramientas |
|
|
| Desplegado |
Mode Lineal
|
Normas de Publicación
|
No puedes crear nuevos temas
No puedes responder temas
No puedes subir archivos adjuntos
No puedes editar tus mensajes
Las caritas están Activado
El codigo [IMG] está Activado
Código HTML está Desactivado
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
www.programatium.com© 1999 - web esta optimizada para Microsoft explorer 6.0
|
|
|
|
|
|
Content Relevant URLs by vBSEO 3.2.0
|