jquery - Load website when progress finishs -
i have created div, name of website. when enter in website, see name getting filled (like progress bar ). it's supposed when name completely filled, div dissapears ; dissapears when it's not totally filled. more or less in 50% ... can please me? **you can check out in next link: ** tapehd here's code... jquery code $(document).ready(function () { /* loading */ $(window).load(function () { $('body').addclass('loading'); }); settimeout(function() { if($('body').hasclass('loading')) { $('#loading').fadeout(); $('body').removeclass('loading'); $('body').addclass('loaded'); } }, 2000); if($.cookie('showonlyonce')){ $('#loading').hide(); } else { $.cookie('showonlyonce', 'showonlyonce', { expires: 1 }); $('#loading').show(); } /* end loading */ }