»
AnglaisFran�aisVietnamien

Imprimer - Texte zoomer - JavaScriptBank.com

Version compl�te: jsB@nk » Texte » Texte zoomer
URL: https://www.javascriptbank.com/text-zoomer-stretch-shrink-headlines-and-text.html

Texte zoomer © JavaScriptBank.comTexte zoomer est un cross-browser DHTML script créer un effet de zoom dynamique de titres et de texte. Il est beaucoup plus rapide que n'importe quel applet Java. Il n'a pas besoin de toutes les images.

Version compl�te: jsB@nk » Texte » Texte zoomer
URL: https://www.javascriptbank.com/text-zoomer-stretch-shrink-headlines-and-text.html



JavaScript
<SCRIPT language=javaScript><!-- Beginning of JavaScript -var thissize=0var step=1var maxfontsize=400var textcolor="000"var textfont="Arial"var message="JavaScriptBank.com - Bank of over 2000+ free JavaScripts"function stretch() {if (thissize<0) {step=1; thissize=0}if (thissize < maxfontsize) {if(document.all) {zoomer.innerHTML="<span style='font-family:"+textfont+";font-size:"+thissize+"px;color:"+textcolor+"'>"+message+"</span>"}if(document.layers) {document.zoomer.document.write("<span style='font-family:"+textfont+";font-size:"+thissize+"px;color:"+textcolor+"'>"+message+"</span>")document.close()}step++thissize=thissize+stepvar timer=setTimeout("stretch()",50)}else {clearTimeout(timer)var intermezzo=setTimeout("shrink()",1000)}}function shrink() {if (thissize > -0) {if(document.all) {zoomer.innerHTML="<span style='font-family:"+textfont+";font-size:"+thissize+"px;color:"+textcolor+"'>"+message+"</span>"}if(document.layers) {document.zoomer.document.write("<span style='font-family:"+textfont+";font-size:"+thissize+"px;color:"+textcolor+"'>"+message+"</span>")document.close()}if (step >= 2) {step=step-1} else{step=1}thissize=thissize-stepvar timer=setTimeout("shrink()",50)}else {clearTimeout(timer)var intermezzo=setTimeout("stretch()",1000)}}// - End of JavaScript - --></SCRIPT><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->


HTML
<BODY onload=stretch()><DIV id=zoomer style="LEFT: 10px; POSITION: absolute; TOP: 10px; VISIBILITY: visible"></DIV></BODY><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->