当前位置:编程学习 > asp >>

asp取得flash高与宽

asp取得flash高与宽

Function GetFlashAndPic(url,height,width)
 Dim sExtName,ExtName,strTemp
 sExtName = Split(url, ".")
 ExtName = sExtName(UBound(sExtName))
 If LCase(ExtName) = "swf" Then
  strTemp = "<embed src=""" & url & """ width=" & width & " height=" & height & ">"
 Else
  strTemp = "<img src=""" & url & """ width=" & width & " height=" & height & " border=0>"
 End If
 GetFlashAndPic = strTemp
End Function

补充:asp教程,ASP入门
CopyRight © 2022 站长资源库 编程知识问答 zzzyk.com All Rights Reserved
部分文章来自网络,