<?xml version="1.0" encoding="UTF-8"?><rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
><channel><title>stylesheet &#8211; Programming blog &#8211; website programming blog, blog on website programming .net, java , php and mor</title>
<atom:link href="https://www.searchenginegenie.com/programming-blog/tag/stylesheet/feed/" rel="self" type="application/rss+xml" /><link>https://www.searchenginegenie.com/programming-blog</link>
<description></description>
<lastBuildDate>Mon, 03 Dec 2012 10:49:49 +0000</lastBuildDate>
<language>en-US</language>
<sy:updatePeriod>
hourly	</sy:updatePeriod>
<sy:updateFrequency>
1	</sy:updateFrequency>
<generator>https://wordpress.org/?v=7.1.5</generator>
<item><title>Change Your Page Background Color Dynamically using Java Script</title><link>https://www.searchenginegenie.com/programming-blog/change-your-page-background-color-dynamically-using-java-script/</link>
<comments>https://www.searchenginegenie.com/programming-blog/change-your-page-background-color-dynamically-using-java-script/#respond</comments>
<dc:creator><![CDATA[Camilla]]></dc:creator>
<pubDate>Tue, 27 Jul 2010 10:20:48 +0000</pubDate>
<category><![CDATA[Programming]]></category>
<category><![CDATA[change page color dynamic]]></category>
<category><![CDATA[css]]></category>
<category><![CDATA[stylesheet]]></category>
<guid
isPermaLink="false">http://www.searchenginegenie.com/programming-blog/?p=289</guid><description><![CDATA[Following code is used to change a page color from your select option in select box. Copy and Paste following code in a simple HTML page. [html] &#60;!DOCTYPE html PUBLIC &#34;-//W3C//DTD XHTML 1.0 Transitional//EN&#34; &#34;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&#34;&#62; &#60;html xmlns=&#34;http://www.w3.org/1999/xhtml&#34;&#62; &#60;head&#62; &#60;meta http-equiv=&#34;Content-Type&#34; content=&#34;text/html; charset=UTF-8&#34;&#62; &#60;title&#62;Change Your page Background Color Using Java Script&#60;/title&#62; &#60;script type=&#34;text/javascript&#34;&#62; function changeTheme(selColor) { [&#8230;]]]></description>
<content:encoded><![CDATA[<div
style="color: black;">Following code is used to change a page color from your select option in select box.</div><h3 style="color: red;">Copy and Paste following code in a simple HTML page.</h3><p>[html]<br
/>
&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;&gt;<br
/>
&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;<br
/>
&lt;head&gt;<br
/>
&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=UTF-8&quot;&gt;<br
/>
&lt;title&gt;Change Your page Background Color Using Java Script&lt;/title&gt;<br
/>
&lt;script type=&quot;text/javascript&quot;&gt;<br
/>
function changeTheme(selColor) {<br
/>
alert(selColor);<br
/>
document.body.style.backgroundColor = selColor;<br
/>
}<br
/>
&lt;/script&gt;</p><p>	&lt;/head&gt;<br
/>
&lt;body&gt;<br
/>
&lt;h1&gt;Please Select Your Page Background Color..&lt;/h1&gt;<br
/>
&lt;select name=&quot;changescheme&quot; id=&quot;changescheme&quot; onChange=&quot;javascript:changeTheme(this.value)&quot;&gt;<br
/>
&lt;option value=&quot;white&quot;&gt;White&lt;/option&gt;<br
/>
&lt;option value=&quot;red&quot;&gt;Red&lt;/option&gt;<br
/>
&lt;option value=&quot;blue&quot;&gt;Blue&lt;/option&gt;<br
/>
&lt;option value=&quot;orange&quot;&gt;Orange&lt;/option&gt;<br
/>
&lt;option value=&quot;black&quot;&gt;Black&lt;/option&gt;<br
/>
&lt;/select&gt;<br
/>
&lt;/body&gt;<br
/>
&lt;/html&gt;<br
/>
[/html]</p>
]]></content:encoded>
<wfw:commentRss>https://www.searchenginegenie.com/programming-blog/change-your-page-background-color-dynamically-using-java-script/feed/</wfw:commentRss>
<slash:comments>0</slash:comments>
</item>
</channel>
</rss>
<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/?utm_source=w3tc&utm_medium=footer_comment&utm_campaign=free_plugin

Page Caching using Disk: Enhanced 
Minified using Disk

Served from: www.searchenginegenie.com @ 2026-12-01 21:36:49 by W3 Total Cache
-->