The implementation code for batch generation of a large number of regular content implemented using asp is to simplify user input and replace manual operation. Everyone must make good use of this when making a page today, because there are hundreds of files, it is impossible to have one. The manual modification of the path id needs to be modified in the middle, which has a certain regularity. So I thought about it and felt that Asp is relatively simple, and PHP has the same principle. VBS and JS are a little troublesome because there are too many texts. Can't be so much document.write.
Batch generation is definitely inseparable from for loops. Here is a brief introduction, and you will understand after reading it.
The code copy is as follows:
<%
dxy=1
for i=1 to 300
%>
<%=dxy%>:<br>
<object codebase=http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0 height=136 width=605 classid=clsid:D27CDB6E-AE6D-11cf -96B8-444553540000>
<param value=16007 name=_cx />
<param value=3598 name=_cy />
<param value= name=FlashVars />
<param value=http://www.vevb.com/file_images/article/201303/tmflash/<%=i%>.swf name=Movie />
<param value=Window name=WMode />
<param value=-1 name=Play />
<param value=-1 name=Loop />
<param value=High name=Quality />
<param value= name=SAlign />
<param value=-1 name=Menu />
<param value= name=Base />
<param value= name=AllowScriptAccess />
<param value=ShowAll name=Scale />
<param value=0 name=DeviceFont />
<param value=0 name=EmbedMovie />
<param value= name=BGColor />
<param value= name=SWRemote />
<param value= name=MovieData />
<param value=1 name=SeamlessTabbing />
<param value=0 name=Profile />
<param value= name=ProfileAddress />
<param value=0 name=ProfilePort />
<param value=all name=AllowNetworking />
<param value=false name=AllowFullScreen /></object>
<div align=left>Above is a demonstration of transparent FLASH, [<a target=_blank href=http://www.vevb.com/file_images/article/201303/<%=i%>.swf>Download</ a>] (Please use right-click - Save Target As to download, or use the download tool)</div>
<br /><br />
<%
dxy=dxy+1
if dxy mod 20=0 then
response.write #page break#<br> 'In fact, it is just inputting page pagination, and 300 pieces of code cannot be left without page pagination
end if
next
%>