一聚教程网:一个值得你收藏的教程网站

热门教程

使用正则表达式实现模式图片新闻(加强).ASP

时间:2022-06-30 10:51:43 编辑:袖梨 来源:一聚教程网

客户要求保存原有的img已在的属性,郁闷,继续改
代码如下:
function shownew(content,ntype)
shownew = ""
if(ntype = 1) then
shownew = shownew &" "
shownew = shownew &""
shownew = shownew &" "
shownew = shownew &""
shownew = shownew &""
shownew = shownew &" "
shownew = shownew &""
shownew = shownew &"
"&ShowPic(content)&"
"&OnlyWord(content)&"
"
elseif (ntype = 2) then
shownew = shownew &" "
shownew = shownew &""
shownew = shownew &" "
shownew = shownew &""
shownew = shownew &""
shownew = shownew &" "
shownew = shownew &""
shownew = shownew &"
"&OnlyWord(content)&"
"&ShowPic(content)&"
"
elseif (ntype = 3) then
shownew = shownew &""
shownew = shownew &""
shownew = shownew &""
shownew = shownew &""
shownew = shownew &""
shownew = shownew &"
"&ShowPic(content)&""&OnlyWord(content)&"
"
elseif (ntype = 4) then

热门栏目