标题:end if
取消只看楼主
liliang853
Rank: 1
等 级:新手上路
帖 子:21
专家分:0
注 册:2006-11-24
 问题点数:0 回复次数:3 
end if

<td class="song12666" style="padding:4px;"><% 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></td>


我想让这3个ID跳转到下面的3个静态页面应该怎么改请高手指点

搜索更多相关主题的帖子: end 
2007-04-24 13:34
liliang853
Rank: 1
等 级:新手上路
帖 子:21
专家分:0
注 册:2006-11-24
得分:0 
回复:(liliang853)end if
不是呀我现在只判断一个IP好用又加了两个就不好用了,不知道应该用什么语句了
2007-04-24 13:44
liliang853
Rank: 1
等 级:新手上路
帖 子:21
专家分:0
注 册:2006-11-24
得分:0 
回复:(liliang853)end if

<% 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>


就是当productid等于54连接到005.htm当productid等于52连接到006.htm当productid连接到007.htm应该怎么改

2007-04-24 13:53
liliang853
Rank: 1
等 级:新手上路
帖 子:21
专家分:0
注 册:2006-11-24
得分:0 
回复:(liliang853)end if

谢谢指点,你的方法我已经试过好用哦.哈哈不要郁闷了

2007-04-25 13:12



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




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

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