The opening credits originally included scenes from The Return of Jafar which the series followed, chronologically. By the third season many of the clips were replaced by scenes from previous episodes.
Though the series follows "The Return of Jafar" chronologically, it actually premiered just before the movie. So certain elements (such as why Iago was a "good guy" and why the Genie was still with them) were unexplained.