标题:判断代码的连接问题end if,想让三个IP跳转到以下3个静态页应该怎么改
只看楼主
liliang853
Rank: 1
等 级:新手上路
帖 子:21
专家分:0
注 册:2006-11-24
 问题点数:0 回复次数:1 
判断代码的连接问题end if,想让三个IP跳转到以下3个静态页应该怎么改

<% if rspp("productid")=54 then %><a href="005.htm" target="_blank" class="song12666"><% end if %><% if rspp("productid")=52 then %><a href="006.htm" target="_blank" class="song12666"><% end if %><% if rspp("productid")=51 then %><a href="007.htm" target="_blank" class="song12666"><% end if %><a href="showsolution.asp?id=<%=rspp("productid")%>" target="_blank" class="song12666">
<% if len(rspp("producttype"))>120 then response.write left(rspp("producttype"),120)&"……" else response.write left(rspp("producttype"),120) end if%></a>


想让三个IP跳转到以下3个静态页应该怎么改

搜索更多相关主题的帖子: 判断 代码 end 静态 
2007-04-24 13:42
天上碑
Rank: 1
等 级:新手上路
威 望:1
帖 子:111
专家分:0
注 册:2007-4-23
得分:0 
<% if rspp("productid")=54 then %>
<a href="005.htm" target="_blank" class="song12666">
<% elseif rspp("productid")=52 then %>
<a href="006.htm" target="_blank" class="song12666">
<% elseif rspp("productid")=51 then %>
<a href="007.htm" target="_blank" class="song12666">
<% else %>
<a href="showsolution.asp?id=<%=rspp("productid")%>" target="_blank" class="song12666">
<%end if%>
<% if len(rspp("producttype"))>120 then response.write left(rspp("producttype"),120)&"……" else response.write left(rspp("producttype"),120) end if%></a>

我很郁闷!
2007-04-24 14:18



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-134487-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.506102 second(s), 7 queries.
Copyright©2004-2025, BCCN.NET, All Rights Reserved