count=100;
displayProgress();
function displayProgress() {
            $msg = 'Sorry need to wait ' + count + ' sec  ';
            $.fancybox({ type: 'inline', content: $msg });
            count--;
            if (count > 0) {
                setTimeout(displayProgress, 1000);
            } else {
                $.fancybox({ type: 'inline', content: 'stop' });
            }
        }
счас fancybox мигает при перерисовке, как сделать без мигания?
мне нужно показать в fancybox сколько осталось ждать