»
EnglishFrenchVietnamese

Print - Background previewer - JavaScriptBank.com

Full version: jsB@nk » Background » Background previewer
URL: https://www.javascriptbank.com/background-previewer.html

Background previewer © JavaScriptBank.comThe effect allow visitors change color of objects as text, background, image on the web page.

Full version: jsB@nk » Background » Background previewer
URL: https://www.javascriptbank.com/background-previewer.html



HTML
<script language="javascript">/*     This script downloaded from www.JavaScriptBank.com     Come to view and download over 2000+ free javascript at www.JavaScriptBank.com*/<!-- bgcolor previewer function-->function bc(){document.bgColor = document.form.tbox.value;}<!--font previewer function-->function fc(){document.fgColor = document.form.fchange.value;}<!-- bgimage previewer function(not local)-->function bg(){document.body.background = document.form.text.value;}<!-- bgimage previewer function(local)-->function bgl(){document.body.background = "file:///"+document.form.text2.value;} document.write("<FORM name='form' style='text-align: left; width: 70%;'><INPUT TYPE='text' name='tbox'><INPUT TYPE='BUTTON'VALUE=' Change background color ' onClick = 'bc()' ><BR><INPUT TYPE='text' name='fchange'><INPUT TYPE='button' value=' Change text color ' onClick='fc()'><BR><INPUT TYPE='TEXT' name='text'><input type='button' VALUE=' Change background image with this URL 'onClick='bg()'><BR><input type='file' NAME='text2'><INPUT TYPE='BUTTON' VALUE=' Change background image with this picture ' onClick='bgl()'></FORM>");</SCRIPT><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->