Help your friends to modify their website's physical elastic advertisements. I 've never been too lazy to write, so I went to the lazy library to find it. After downloading a js file, the file may conflict with the DOCTYPE file. When the DDOCTYPE document describes the existence of an advertisement, the advertisement becomes useless. I don't know js too well, but I have a special liking for jquery. Therefore, I made some modifications with reference to the original js to implement the physical elastic advertisement function. At the same time, I hope that the majority of programmers can find code on the internet like me and find problems. After adjustment, I can publish the code page for later users to learn and use, this avoids repetitive work. I searched for some code websites that basically included the same incompatible code.
In fact, the main principle is to use the timer to change the position of the element.
Code is not much nonsense.
Original link http://www.lanrentuku.com/js/piaofu-75.html
Humble revision http://www.kuaipan.cn/file/id_70090009390090506.htm