README.html

Cssmagic v/1.2

A program by flatval.net to change stylesheets dynamically.

License

Cssmagic v/1.2 - a program to change stylesheets dynamically. (c) 2003-2004 magnetrout@gmail.com

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.

Installation

  1. Edit the varlables of the script. It will not work unless you follow the instructions carefully.
  2. Upload the script to your server via ftp, or use a UNIX text editor.
  3. Include the script at the top of your PHP page:
  4. <? include_once("cssmagic.php") ?>
  5. The script use functions to generate and include chunks of HTML. There are two functions that need to be used:

  6. If you chose to use the default unordered list option, use the
    following code to create the list:

    <ul>
    <? csslist(); ?>
    </ul>

    That's pretty much it.

Hints

Bugs