»
AnglaisFran�aisVietnamien

Imprimer - Color Changer - JavaScriptBank.com

Version compl�te: jsB@nk » Arrière-plan » Color Changer
URL: https://www.javascriptbank.com/color-changer-ben-marisic.html

Color Changer © JavaScriptBank.comUtilisez cette JavaScript pour les visiteurs peuvent changer de couleur.

Version compl�te: jsB@nk » Arrière-plan » Color Changer
URL: https://www.javascriptbank.com/color-changer-ben-marisic.html



JavaScript
<SCRIPT language=JavaScript><!-- This Script Was Written By Ben Marisic -function Fontcolor(code) { document.fgColor=code}function changecolor(code) { document.bgColor=code}// - - --></SCRIPT><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->


HTML
<FORM>Font Color <INPUT name=text1 size="20"> <INPUT name=Button onclick=Fontcolor(form.text1.value) type=button value="Change Color"><br>Background Color<INPUT name=text2 size="20"> <INPUT name=Button onclick=changecolor(form.text2.value) type=button value="Change Color"> <BR><INPUT name=ColorList onclick="alert ('blue,green,purple,black,red,pink,brown,white,orange,lime,yellow,teal')" type=button value="Color List"> </FORM><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->