Home > Web Front-end > JS Tutorial > js loops to output pictures, and if there are insufficient, 0 must be added [Original]_Image special effects

js loops to output pictures, and if there are insufficient, 0 must be added [Original]_Image special effects

WBOY
Release: 2016-05-16 19:03:51
Original
1274 people have browsed it

I want to display 001.gif~285.gif on the web page. How to implement JS?
HTML is written like this


...


...


Solution:


[Ctrl A select all Note: If you need to introduce external Js, you need to refresh to execute
]
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template