Friday, July 8, 2011

How to show busy cursor while loading a page in ASP.NET?


Put loading information into one div, and main contain to another div. Then use jQuery ready function to show main content and hide busy cursor
        $(document).ready(function () {
            $('#loadinginfo').hide();
            $('#mainContain').show();
        });

How to centralize content in div by CSS?


<div style="width: 50%; margin: 0 auto;">Hello</div>
OR
<div style="text-align: center">
    <div style=
"width: 50%; margin: 0 auto; text-align: left">Hello</div>
</div>

Modern community building


The Stack Exchange network is already up to 51 sites on diverse topics, from math to cooking to science fiction. Each site is a community on its own, and each community has its own needs and values. Pouring a big fat algorithm in equal measures on top of 51 different groups of people does not always work the way you might hope it would work. Maybe that’s why the super-algorithm companies (like Google) tend to suck when they try to build social applications.
Our goal as a company is to incubate each of these 51 communities—to get them to critical mass. Critical mass is that magic moment when the community has enough activity that it grows by itself.
Building communities on the Internet is a new kind of profession. There are an awful lot of technology companies, founded by programmers, who think they are building communities on the Internet, but they’re really just building software and wondering why the community doesn’t magically show


http://www.joelonsoftware.com/items/2011/05/26.html