Lumio - 2009-12-17

Welcome new Developer

my registration here on sourceforge aims back in 2006, but also because of that long time, I'm not really used to sourceforge. Also my english is not the best. So please forgive me xD

<h2>Goal</h2>

But ok, let's talk about the project. As you know, it is called cssConstructor. It is about a single Javascript-file, which should be able to manage a css-file.
So how should it work?

Let's say we have a normal HTML-page like this:

    <?xml version="1.0" encoding="utf-8"?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
   
    <head>
    <title>Testpage</title>
    <meta http-equiv="content-type"
    content="text/html;charset=utf-8" />
    <meta http-equiv="Content-Style-Type" content="text/css" />
    <style type="text/css">
    div {
    background: #ad7fa8;
    margin: 1px;
    }
    </style>
   
    </head>
   
    <body>
    <div id="wrap">
    <div id="nav">
    <ul>
    <li><a href="#">a single link</a></li>
    <li><a href="#">another link</a></li>
    </ul>
   
    </div>
    <div id="content">
    <p>here are some objects</p>
    <p>and paragraphs</p>
    </div>
    </div>
    </body>
    </html>

So if we add a single js-file, every object should be changeable. But there is one clue: what about other scripts ;) lets study that.

<h2>Code-Style</h2>

So if you want to join, please don't programm your style.

<h3>Comments</h3>
Every function, or class should be commented right:

    /**
     * Description of function
     * @author Your Name <em@il>
     * @param Variabletype Variablename description
     * @return Returntype description
     */
    function xy( Variablename )
    {
    // Codesection
    alert( "Output" );
    }

Use tabs (4 spaces wide) to make the code more readable.

<h1>Thanks for joining</h1>