Vedo due problemi:
1- jQuery delay non fa quello che tu pensi, guarda la documentazione.
2- secondo la documentazione toggle non è usato nel modo giusto
version added: 1.4.3.
toggle( [duration,] [easing,] [callback] )
durationA string or number determining how long the animation will run. easingA string indicating which easing function to use for the transition. callbackA function to call once the animation is complete.
Quindi fare così:
codice:
a.next('container').toggle(700, 'blind', function(){
  alert($(this).css('display'));
});