+ -
当前位置:首页 → 问答吧 → 大家请进来帮小弟个忙万分感谢!

大家请进来帮小弟个忙万分感谢!

时间:2005-12-29

来源:互联网

screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.alt='Click here to open new window\nCTRL+Mouse wheel to zoom in/out';}" onmouseover="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.style.cursor='hand'; this.alt='Click here to open new window\nCTRL+Mouse wheel to zoom in/out';}" onclick="if(!this.resized) {return true;} else {window.open(this.src);}" onmousewheel="return imgzoom(this);" alt="" />

我的网站是游戏点卡在线销售平台由于最近平台添加新品种太多,我想把现在一个商品版块区 见上图里的三行商品改成让它显示四行五行或是更多,我在index.asp里找到了控制显示数的代码(set rs=server.createobject("adodb.recordset")
sql="select top 9 * from shop_product where pr_tj2=1 order by pr_id desc"
rs.open sql,conn,1,1)          
改完后显示行数可以按我改时所要求的正常显示,见下图

screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.alt='Click here to open new window\nCTRL+Mouse wheel to zoom in/out';}" onmouseover="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.style.cursor='hand'; this.alt='Click here to open new window\nCTRL+Mouse wheel to zoom in/out';}" onclick="if(!this.resized) {return true;} else {window.open(this.src);}" onmousewheel="return imgzoom(this);" alt="" />

但是我登陆后台想往这个版块添加商品时却只能在我新增加的行数里添加一个商品再想添加都会被新添加的商品顶掉以前的商品.是不是光改index.asp这个文件还不能实现我所想要的效果,还须要改另外一个控制代码.请问还须要改那个文件?是不是后台添加商品文件?是的话请说下是那个?请教各位大虾指教谢谢!!!

[ 本帖由 ybb4325 最后编辑于 2005-12-29 00:18 ]

作者: ybb4325   发布时间: 2005-12-29