Skip to content
Web Code

Web Code

Tools and Knowledge

  • Home
  • Guides
  • Joomla
  • Online Advertising
  • Scripts
  • SEO
  • Tools
  • WordPress

Let users change background color

BY AdministratorApril 10, 2008October 24, 2024

You can use this code to let your users change the background color of your website.
If you combine it with a cookie, their color choice can follow through the entire website.

Paste this code into the HEAD section of your HTML document.

function bgChange() {
  document.bgColor=document.getElementById("f").txt.value;
}

Previous Post

FireBoars latest posts module

Next Post

Is DMOZ alive?

Popular Articles

"Home" Add to favorites Advertise your website Bookmark Coding tools component Converter definition Escape Google Google Analytics Google Analytics Rolls Out New Features guide How to HTML HTML module JavaScript Joomla Joomla components Joomla Guides Joomla Modules Linx loading speed Make money from your website mod_html Online Advertising PHP Reciprocal link exchange remove script Select Category Select Section SEO seo guide SEO Tools Spiders title tag Tools Track Adsense clicks Unescape web hosting website Website Tools Wordpress Wordpress Guides

Useful

  • About Us
  • Contact Us
  • Privacy Policy
  • Terms and conditions
  • SiteMap

Related Posts

JavaScript

Add to favorites script, Bookmark script

If you want to add a little star on your page that when click upon the user will save your site to his favorites, add this to your page, below the <head>:  

JavaScript

How To Use Javascript To Enhance Your Websites Interactivity And User Engagement

Interactive websites are more exciting than static ones. Interactivity helps users stay longer on sites. JavaScript plays a major role in this. Interactivity builds a connection between users and the

JavaScript

Track Adsense clicks in Google Analytics

 With this script you can track your Adsense clicks in Google Analytics. You can tell where you got the click from, what was the site that refer the user who clicks and other cool stuff.

About Us | Contact Us | Privacy Policy | Terms | For Advertisers | WordPress Theme: Xews Lite