<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1013460" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1013460</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/letting-users-choose-color-schemes#comment-1078682</link>
    <description> &lt;p&gt;good point...&lt;br /&gt;
If/When I do it to mine, I&#039;ll probably do as much as possible using the server-side language.  Using a cookie to store a userID, I&#039;d query a DB for that users preferences.  Then print table colors accordingly.&lt;/p&gt;
 </description>
     <pubDate>Tue, 27 Feb 2001 06:58:19 +0000</pubDate>
 <dc:creator>Mark Hensler</dc:creator>
 <guid isPermaLink="false">comment 1078682 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/letting-users-choose-color-schemes#comment-1078642</link>
    <description> &lt;p&gt;I was doing that on my site a month or so ago, but decided to drop it: the upkeep on the CSS files and images for each style just wasn&#039;t worth it, and I decided one of my &quot;schemes&quot; was a lot better than the others, so I got rid of my scheme selector.&lt;/p&gt;
&lt;p&gt;Anyway, if you want to do it, here&#039;s how I did it (one possible way, surely there are other more clever ways):&lt;/p&gt;
&lt;p&gt;- I had a schemes directory, with a subdirectory for each of my supported schemes; these directories contained a css file, and a few image files (logos changed when the scheme changed, for example)&lt;br /&gt;
- I had a select in the navigation bar that listed the available schemes, and when a selection was made, would save the scheme name in a cookie, and do a location.href = location.href&lt;br /&gt;
- each page (via an include file, and by the way, this was all in ASP, you need some kind of server side script to do it, or at least it seems that way to me) would read the cookie, and create a &quot;link href&quot; statement in the page according to the selected scheme path&lt;br /&gt;
- references to the variable images was also created by script, using the value of the selected script directory&lt;br /&gt;
- Obviously, the entire site is CSS-aware, so that the UI paints according to the selected scheme (CSS and image files)&lt;/p&gt;
&lt;p&gt;I finally decided to pitch it when I came to the conclusion that I needed multiple css files for different browsers (one for IE, one for NS4, one for NS6); just too much upkeep with n browsers x n schemes&lt;/p&gt;
 </description>
     <pubDate>Mon, 26 Feb 2001 06:36:02 +0000</pubDate>
 <dc:creator>bhorstkotte</dc:creator>
 <guid isPermaLink="false">comment 1078642 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/letting-users-choose-color-schemes#comment-1078077</link>
    <description> &lt;p&gt;Hey klerner, welcome to TWF!&lt;/p&gt;
&lt;p&gt;This is a big project.  Especially if you want to change fonts and graphics.  CSS is probably the best way to do this, as you can dynamically change everything (colors, fonts, and images) with JavaScript. With JavaScript, you would be able to set cookies, and keep the layout for each page, etc. etc.&lt;/p&gt;
&lt;p&gt;I will be doing a souped up version for my site.  (I may even include moving content around like Excite and Altavista).  But I will be doing it all server-side with PHP and databases.  That way, I can keep relational DBs, and track users.... They&#039;re color scheme, content scheme, what pages they frequent, their browsers type, OS, and more and more...&lt;/p&gt;
&lt;p&gt;I would suggest looking for a prefab you can use, unless you have knowledge of JavaScript (or PHP), and the time to work with it.&lt;br /&gt;
try &lt;a href=&quot;http://hotscripts.com&quot; class=&quot;bb-url&quot;&gt;http://hotscripts.com&lt;/a&gt; and &lt;a href=&quot;http://resourceindex.com&quot; class=&quot;bb-url&quot;&gt;http://resourceindex.com&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Good Luck,&lt;/p&gt;
 </description>
     <pubDate>Sun, 11 Feb 2001 23:04:01 +0000</pubDate>
 <dc:creator>Mark Hensler</dc:creator>
 <guid isPermaLink="false">comment 1078077 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/letting-users-choose-color-schemes#comment-1078047</link>
    <description> &lt;p&gt;My 2 cents: (and that&#039;s all this advice is probably worth &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt;)&lt;/p&gt;
&lt;p&gt;Adding a layer of complexity like that (especially if you&#039;re not 100% confident of how to implement it) is just asking for a headache. Letting the user pick a color scheme is little more than a useless toy. It does nothing to improve a site and I&#039;d be willing to bet that very few visitors would use it. At least, they wouldn&#039;t use it beyond trying it once, saying &quot;wow, kewl&quot; and then never giving it another thought. You&#039;d be a lot better served in the long run be devoting that energy to improving site content.&lt;/p&gt;
&lt;p&gt;That said, actually doing it isn&#039;t too hard. There are probably a bunch of different ways to do it, and all would involve heavy use of style sheets and the most efficient would also use cookies although you can work around that with some sort of scripting like PHP or ASP. In a nutshell, the HTML code for a given page stays the same and the elements are defined with the various .css files. Whatever color scheme the user picks, the appropriate style sheet is loaded so that the appearance of the page changes without the underlying code changing. The style sheet choice is then saved in a cookie so that it &quot;follows&quot; the user from page to page and will stay set for repeat visits. To make that happen, just get yourself a good style sheet editor (I like Bradbury Software&#039;s TopStyle [url]http://www.bradsoft.com/topstyle/index.asp)[/url] and read a quick tutorial on simple cookies. Hopefully, by the time you&#039;re done you&#039;ll have given up on the idea, but you will have gained some valuable knowledge &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/wink.png&quot; title=&quot;Wink&quot; alt=&quot;Wink&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
&lt;p&gt;The idea of changing graphics makes things quite a bit harder. I could explain a way to do it with PHP, but it involves yet another layer of complexity (as well as creating multiple graphics sets) that just wouldn&#039;t be prudent without a real firm grasp of what&#039;s involved. Sorry to sound like a broken record, but in case you couldn&#039;t guess, I&#039;m a die-hard member of the substance over style crowd and have found that tricks like that are usually a mask to cover poor or nonexistent content.&lt;/p&gt;
 </description>
     <pubDate>Sun, 11 Feb 2001 01:15:46 +0000</pubDate>
 <dc:creator>Maverick</dc:creator>
 <guid isPermaLink="false">comment 1078047 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
