Home > Article > Web Front-end > Javascript xml implements simple image rotation (only supports IE)_javascript skills
I've been bored recently. I saw that many websites have automatic rotation of advertisements. I tried to write an image rotation myself. The code and function are very simple. It only supports IE, and FF needs to add some stuff.
xml file: test.xml