This paper proposes a time-varying heterogeneous alternation controller for the synchronization of delayed neural networks (DNNs). Different from the mixture of traditional impulse and intermittent control, we consider a time-varying intermittent controller which is more representative than traditional periodic or aperiodic intermittent controllers. To make the system under study more applicable, we consider the impact of time-varying delay. After doing a theoretical analysis, the sufficient condition of the synchronization of DNNs is obtained. Finally, two simulations are offered to verify the validity of our results.