Results 1 to 2 of 2

Thread: Changing a website's look or theme?

  1. #1
    Join Date
    Jan 2010
    Posts
    2

    Question Changing a website's look or theme?

    I want to know how to allow a user to change a websites look. It websites that have different themes or color schemes, like on the Gamespot homepage. How is this accomplished?

    I have two theories.
    The button changes a variable that causes the HTML file to reference a different CSS file. Ie 'IF x = 1 THEN reference stylesheet1.css' 'IF x = 2 THEN reference stylesheet2.css'.

    Or

    The button changes a variable that causes the HTML file to reference a different part of the CSS file. Ie 'IF x = 1 THEN reference top half of stylesheet.css' 'IF x = 2 THEN reference bottom half of stylesheet.css'.

    Or am I completely off-base here?

    I am looking for a solution to change an entire website's look, not just it's color scheme, but layout and everything, based on the user's input.

    Thoughts?

  2. #2
    Join Date
    Jan 2010
    Location
    Orlando, Fl
    Posts
    12
    You could accomplish it by simply doing what you said, basically, you have a form that submits a variable to whatever URL, and you have a script that says, if variable exists, use different CSS link, else use regular form. It can get much more complicated, but that is one way.

Similar Threads

  1. Replies: 0
    Last Post: 07 Mar 2008, 01:22 PM
  2. Small websites and a portal
    By maxbra in forum General Questions
    Replies: 1
    Last Post: 14 Mar 2006, 07:10 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •