Im trying to create some jquery page transitions. I want the page to fade in however the code i am using right now what it does is after the page loads it flashes then the page fade's in. However what i want it is to fade the page in from the start the code i am using right now is
$(function () {
$("body").load().css("display", "none");
$("body").load().fadeIn(400);
});