







|
[ Forums >> JavaScript >> Problèmes avec un script de l'éditeur JavaScript ? >> pb j' arrive po a mettre lescouleur dans mon script ]
| > pb j' arrive po a mettre lescouleur dans mon script |
[ Posté par Levia ] [ Détails ] [ Contact ] [ Citer ]
[ Posté le 04-07-2003 à 12:07 | 3 messages ]
  bon voila j ai telecharger l intro script mais j arrive po a mettre les noms qui defie en couleur qqun pourrais m aider svp voila le script:
<SCRIPT language="JavaScript">
/*
SCRIPT EDITE SUR L'EDITEUR JAVACSRIPT
http://www.editeurjavascript.com
*/
link = "";
if (document.all)
{
X = document.body.clientWidth;
Y = document.body.clientHeight-50;
}
else
{
X = window.innerWidth;
Y = window.innerHeight-50;
}
document.write('<STYLE TYPE=text/css>\n.cadremagique {\n position:relative; width:'+X+'px; height:'+Y+'px;\n}\n</STYLE>\n');
a = 1;
b=0;
textotab = new Array;
textotab[0] = 'Counter-strike Team';
textotab[1] = 'Avec';
textotab[2] = 'Typhon';
textotab[3] = 'MP5';
textotab[4] = 'Storm';
textotab[5] = 'Dragon-Fly';
textotab[6] = 'Marsupi';
textotab[7] = 'Nolaana';
textotab[8] = 'Dextro';
textotab[9] = 'Shun';
textotab[10] = 'AND ';
textotab[11] = 'Levia';
textotab[12] = 'HSB-TEAM';
function AnimTexto()
{
if(a < 60)
{
texto = "<TABLE WIDTH=100% HEIGHT=80%><TR><TD ALIGN=center VALIGN=middle NOWRAP><P ALIGN=center STYLE=\"font-size:"+a+"px\"><FONT FACE=\"Verdana\">"+textotab[b]+"</FONT></P></TD></TR></TABLE>"
if (document.layers)
{
document.texto1.document.texto2.document.write(texto)
document.texto1.document.texto2.document.close()
}
else if (document.getElementById)
document.getElementById("texto3").innerHTML=texto;
else if (document.all)
texto3.innerHTML=texto;
a++;
tempoEJS = setTimeout("AnimTexto()", 1)
}
else
{
if(b < (textotab.length)-1)
{
a = 1;
b++;
tempoEJS = setTimeout("AnimTexto()", 100);
}
else
tempoEJS = setTimeout("document.location.href=link", 500);
}
}
document.write('<ilayer id="texto1" width='+X+' height='+Y+'><layer id="texto2" width='+X+' height='+Y+'><div id="texto3" CLASS=cadremagique></div></layer></ilayer><FONT FACE=\"Verdana\" SIZE=1><CENTER><A HREF=\"'+link+'\">Passer l\'intro</A></CENTER></FONT>');
window.onload = AnimTexto;
</SCRIPT>
Merci d avance
 
|
|
Services email :
  Vous devez vous identifier pour profiter des services par email du forum.
|

|