生成前台静态类别页面,问题,,,,,急,,,,在线等,,,,
花七七 2007-01-08 03:48:14 常用的有:模板,,,XMLHTTP,,等,,
但应用到<script>function onDownloadDone(downDate){showImport.innerHTML=downDate}oDownload.startDownload('ASP文件地址',onDownloadDone)</script>生成同一栏目的下的不同类别,list1.html,list2.html......,,
单个生成每个页面了,但要怎么实现呢,
Set fso = Server.CreateObject("Scripting.FileSystemObject")
Set rsa=server.CreateObject("adodb.recordset")
rsa.open "select house_class_id from house_class",conn,3,2
do while Not rsa.eof
call makehtml()
rsa.movenext
loop
rsa.close
sub makehtml()
<script>function onDownloadDone(downDate){showImport.innerHTML=downDate}oDownload.startDownload("/house/house.asp?id="&rsa("house_class_id")"
',onDownloadDone)</script>
end sub
要怎么调用生成呢,
生成的文件名又怎样的呢,