»
EnglishFrenchVietnamese

Print - Color use prompt - JavaScriptBank.com

Full version: jsB@nk » Background » Color use prompt
URL: https://www.javascriptbank.com/color-use-prompt.html

Color use prompt © JavaScriptBank.comWhen content of page has been loaded, script will request foreground and background color from your type.

Full version: jsB@nk » Background » Color use prompt
URL: https://www.javascriptbank.com/color-use-prompt.html



JavaScript
<script language="javascript">/*     This script downloaded from www.JavaScriptBank.com     Come to view and download over 2000+ free javascript at www.JavaScriptBank.com*///COPYRIGHT JOE BURNSvar color = prompt("What color would you like the page background to be?","") var txtcolor = prompt("What color would you like the text to be?","") document.write("<BODY BGCOLOR=" +color+ " TEXT=" +txtcolor+ ">") defaultStatus="Here's your " +color+ " background and " +txtcolor+ " text" </SCRIPT><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->