Pupils, parents and teachers have pulled together after their school was forced to relocate at short notice because of asbestos.