Ever since IE changed the way flash is displayed, flash has suddenly become a useless thing.
Many websites have removed their previous flash animations and instead use a js program to implement the animation function.
The same is true for the csdn homepage. . I was bored, so I wrote one myself, with the following features:
1. Friendly to search engines
2. Friendly to artists, because data and code are separated, and those who don’t understand JS at all can use fontpage to modify it. Animation content
can save the js code as a file and then , and then it can be displayed on multiple pages without modifying the code by just one letter
The animation is implemented in
The code is as follows: