







|
|
|
 |
| > INTRO DE SITE |
[ Posté par ryan ] [ Détails ] [ Contact ] [ Citer ]
[ Posté le 15-10-2003 à 14:40 | 1 messages ]
  voila, je voudrais rajouter une image qui vient en zooom ( comme le texte ) qui peut me dire ou rajouter la ligne de commande la dessu ?? :
/*
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] = 'test 1';
textotab[1] = 'test 2';
function AnimTexto()
{
if(a < 45)
{
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>
<!-- FIN DU SCRIPT -->
voila
merci beaucoup
@ +
 
|
|
Services email :
  Vous devez vous identifier pour profiter des services par email du forum.
|

|