CodeLifter.com
Software & Scripts by CodeBrain.com
Home

JavaScripts
PopUp Maker
-
popup windows

CodeLifter 5
-
source viewer

ScrollBar Styler
-
color scrollbars

Flash Fixer
-
remove alerts

Roll-Over Maker
-
image roll-overs

Link Cloaker 5
-
encrypt links

Site Capture 3
-
hidden frames

CHMOD 2 Utility
-
chmod utility

BlackBird 3.0
-
browser shell

Zoom 1.0
-
magnifier
MicroTicker.com
-
text scroller

CodeBrain.com
-
java applets

BrainCode.com
-
java applets

MailToProtector
-
protect email
Java Applets
Perl Scripts
Affiliate Program
Index Change the Page Background Color and/or Font Color
With Buttons
Index
Launch Demo

Click to view the demo
in a popup window
(Version II shown)

Use this script to allow visitors to change the page background and/or font color via form buttons. 

In the sample code shown below, set the button titles and the color values.  To use more buttons, just follow the pattern; to use fewer, just remove one (or more) of the input button tag sets.

In the first version, only the background color is changed.  In the second version, you can also change the font color at the same time. 

Click here to select the code in the window below.
Use Ctrl+C to copy it to your clipboard.

 

Get The Code! CodeLifter is a CodeBrain.com Sister Site
©1995 - 2012 OEC Corp & CodeLifter.com
CodeLifter™ & CodeBrain™
Legal Notices


CodeBrain InterNET Group
BrainCode.com CodeFoot.com CodeBelly.com
Droiddd.com etLux.com FFFast.com
TrayApps.com PopUpWorks.com MicroTicker.com
DavidSosnowski.com OECCorp.com MailToProtector.com
CodeBrain.com
Free MUSIC!

Contemporary classical music, completely free.
Who do WE
Use for Hosting?


We judge hosts harshly. Uptime. Lightning-fast support. Servers that sing. And prices that please. Anything less, and you're history. Our clients won't accept anything but the best. Will you? From demanding music sites like DavidSosnowski to CodeBelly.com to dozens more, we use... Eleven2