so i was doing this javascript code and i wanted to know how you can create this affect like i have seen on other websites where the div shows slowly in transition

so if you are wondering how you do it here is an example:

http://labs.adobe.com/technologies/spry/samples/effects/blind_sample.html