Tuesday, January 17, 2012

Rounded corner by css

.rounded-corners {
     -moz-border-radius: 20px;
    -webkit-border-radius: 20px;
    -khtml-border-radius: 20px;
    border-radius: 20px;
}


http://jonraasch.com/blog/css-rounded-corners-in-all-browsers

What is NoSQL

NoSQL databases aim to save Business Entities directly to a persistence store without O-R Mapping.

NoSQL stands for ‘Not only SQL’. Martin Fowler recently posted on his blog that calling NoSQL as ‘Not only SQL’ is unnecessarily polite. It should mean ‘NO-SQL’. 


Reference:
http://www.devcurry.com/2012/01/hello-ravendb-introducing-ravendb-for.html

Dream it, plan it, build it, launch it, a nice website

http://www.atlassian.com/how-it-works

Monday, January 16, 2012

How to recursively disable all of elements inside a div by Javascript?

<script type="text/javascript">

    $('#readonlydiv').ready(function () {

        RecursiveDisable(document.getElementById("readonlydiv"));

    });



    function RecursiveDisable(element) {

        try {

            element.disabled = element.disabled ? false : true;

        }

        catch (E) {

        }

        if (element.childNodes && element.childNodes.length > 0) {

            for (var x = 0; x < element.childNodes.length; x++) {

                RecursiveDisable(element.childNodes[x]);

            }

        }

    }