Does anyone know the JavaScript for setting display:none on an empty web part zone? I remember seeing it once on a publishing site but now can't find it.
This is to avoid the padding and spacing a web part zone displays when there is no web part added to it.