Web Analytics Made Easy -
StatCounter saw some web site allow user change the color scheme of webite.... - CodingForum

Announcement

Collapse
No announcement yet.

saw some web site allow user change the color scheme of webite....

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • saw some web site allow user change the color scheme of webite....

    dear,
    i saw some web site allow user to change the color scheme of webite....i know they save user setting to database, but how they control the set of graphics and CSS file????

    any tutorial? or idea?
    Thanks.
    =====================================================
    From NinjaTurtle
    ++http://ohmygoh.blogspot.com|http://technology.ohmygoh.com++

  • #2
    this is the style switcher, from A List Apart. I have a similar script that i wrote, that lets users write their own style sheets, though it's pretty useless, if you don't have a big regular following, like slashdot, or this forum.
    bluemood | devedge | devmo | MS Dev Library | WebMonkey | the Guide

    i am a loser geek, crazy with an evil streak,
    yes i do believe there is a violent thing inside of me.

    Comment


    • #3
      I guess its simple enough to control the color-scheme....but as far graphics are concerned you require a server-side lang.
      Scripting | JavaScripts | PerlScripts | Python Scripts | Articles | My Journal

      Comment


      • #4
        no, that could be done with javascript as well. the could would just be bulkier, then.
        bluemood | devedge | devmo | MS Dev Library | WebMonkey | the Guide

        i am a loser geek, crazy with an evil streak,
        yes i do believe there is a violent thing inside of me.

        Comment


        • #5
          actually i'm usinng ASP, then is it more easier to control???
          Thanks.
          =====================================================
          From NinjaTurtle
          ++http://ohmygoh.blogspot.com|http://technology.ohmygoh.com++

          Comment


          • #6
            If you fully separate content and layout, you can use:

            <link rel="alternate stylesheet" title="Alternate layout" type="text/css" href="bla.css"/>

            Modern browsers are supposed to be able to do this, but the only I've used which supports it is Mozilla/Gecko - I believe there is one other lesser known browser too that does this...
            jasonkarldavis.com

            Comment

            Working...
            X