Stimulated by recent intriguing experiments with a quantum dot in an Aharonov–Bohm (AB) ring, we investigate novel resonant phenomena by studying the total transmission probability of nanoscale AB rings with embedded double quantum dots in one arm and a magnetic flux passing through its centre. In this system, we show the overlapping and merging of both Breit-Wiger (BW) and Fano resonances as the interaction parameter between the dots changes. In the strong overlapping regime of Fano resonances, the transmission zeros leave the real-energy axis and move away in opposite directions in the complex-energy plane. The simultaneous swings (from Fano to BW and then back to Fano resonance) of a pair of Fano resonances in the overlapping regime are observed by modulating the magnetic flux threading the AB ring. The periodic tuning of the Fano resonance for a fixed interaction parameter is also discussed as the magnetic flux increases.