怎么用的?
1、准备WeUI框架文件
你可以在以下地址下载到WeUI框架文件:
http://www.foxtable.com/download/mobile/weui.zip
解压会得到三个文件,分别是:
weui.me.js
weui.me.css
weui.min.css
解压后将上述三个文件复制到"d:\web\weui"目录下
2、将HttpRequest事件代码设置为:
'通用事件头,用于发送已经存在的常见文件
Dim fl As String = "d:\web\" & e.path
If filesys.FileExists(fl)
Dim idx As Integer = fl.LastIndexOf(".")
Dim ext As String = fl.SubString(idx)
Select Case ext
Case ".jpg",".gif",".png",".bmp",".wmf",".js",".css" ,".html",".htm",".zip",".rar"
e.WriteFile(fl)
Return '这里必须返回
End Select
End If
'以下是动态生成网页的代码