| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 519 人关注过本帖
标题:end if
只看楼主 加入收藏
liliang853
Rank: 1
等 级:新手上路
帖 子:21
专家分:0
注 册:2006-11-24
收藏
 问题点数:0 回复次数:7 
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
风雨中
Rank: 1
等 级:新手上路
帖 子:213
专家分:0
注 册:2005-10-6
收藏
得分:0 
response.redirect "005.htm"是这个意思吗?

因为我笨,所以我在不断的努力;因为我穷,所以我没有读过太多的书;因为我对自己期望很高,所以我只能不断的追求,用行动去实现自己的价值。
2007-04-24 13:42
liliang853
Rank: 1
等 级:新手上路
帖 子:21
专家分:0
注 册:2006-11-24
收藏
得分:0 
回复:(liliang853)end if
不是呀我现在只判断一个IP好用又加了两个就不好用了,不知道应该用什么语句了
2007-04-24 13:44
风雨中
Rank: 1
等 级:新手上路
帖 子:213
专家分:0
注 册:2005-10-6
收藏
得分:0 
不太明白你的意思?

因为我笨,所以我在不断的努力;因为我穷,所以我没有读过太多的书;因为我对自己期望很高,所以我只能不断的追求,用行动去实现自己的价值。
2007-04-24 13:50
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
天上碑
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-4-24 14:19:06编辑过]


我很郁闷!
2007-04-24 14:16
liliang853
Rank: 1
等 级:新手上路
帖 子:21
专家分:0
注 册:2006-11-24
收藏
得分:0 
回复:(liliang853)end if

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

2007-04-25 13:12
天上碑
Rank: 1
等 级:新手上路
威 望:1
帖 子:111
专家分:0
注 册:2007-4-23
收藏
得分:0 
都不知道你用的是哪个方法.

努力白费了

我很郁闷!
2007-04-25 13:20
快速回复:end if
数据加载中...
 
   



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

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