标题:诚意求教
只看楼主
wyli
Rank: 1
等 级:新手上路
帖 子:3
专家分:0
注 册:2004-7-17
 问题点数:0 回复次数:4 
诚意求教

有谁能教我把这个电子商务程序改成:

1,在后台发布产品,能上传多张产品展示大图片(目前1张)

2,点击产品的缩略图显示多张产品的展示大图片及简介。

此程序:http://www.925ag.com.cn/cendy

小弟诚意求教,谢谢!

搜索更多相关主题的帖子: 诚意 
2004-07-17 18:55
griefforyou
Rank: 6Rank: 6
等 级:贵宾
威 望:27
帖 子:3336
专家分:0
注 册:2004-4-15
得分:0 
没空

天津网站建设 http://www./
2004-07-18 10:04
遥望
Rank: 1
等 级:新手上路
帖 子:52
专家分:0
注 册:2004-7-1
得分:0 
看看这个有用吗?function smallit(){            
 var height1=PhotoViewer.images1.height;            
 var width1=PhotoViewer.images1.width;            
 PhotoViewer.images1.height=height1/1.2;            
 PhotoViewer.images1.width=width1/1.2;           
}            
         
function bigit(){            
 var height1=PhotoViewer.images1.height;            
 var width1=PhotoViewer.images1.width;            
 PhotoViewer.images1.height=height1*1.2;         
 PhotoViewer.images1.width=width1*1.2;           
}            
function fullit()
{
 var width_s=screen.width-10;
 var height_s=screen.height-30;
 window.open("Photo_View.asp?UrlID=<%=UrlID%>&PhotoID=<%=PhotoID%>", "PhotoView", "width="+width_s+",height="+height_s+",left=0,top=0,location=no,toolbar=no,status=no,resizable=no,scrollbars=yes,menubar=no,directories=no");
}
function realsize()
{
 PhotoViewer.images1.height=PhotoViewer.images2.height;     
 PhotoViewer.images1.width=PhotoViewer.images2.width;
 PhotoViewer.block1.style.left = 0;
 PhotoViewer.block1.style.top = 0;
 
}
function featsize()
{
 var width1=PhotoViewer.images2.width;            
 var height1=PhotoViewer.images2.height;            
 var width2=760;            
 var height2=500;            
 var h=height1/height2;
 var w=width1/width2;
 if(height1<height2&&width1<width2)
 {
  PhotoViewer.images1.height=height1;            
  PhotoViewer.images1.width=width1;           
 }
 else
 {
  if(h>w)
  {
   PhotoViewer.images1.height=height2;         
   PhotoViewer.images1.width=width1*height2/height1;           
  }
  else
  {
   PhotoViewer.images1.width=width2;           
   PhotoViewer.images1.height=height1*width2/width1;         
  }
 }
 PhotoViewer.block1.style.left = 0;
 PhotoViewer.block1.style.top = 0;
}

★★★★★★★★★★ 纵里寻她千百度 蓦然回首 那人却在,灯火阑珊处!
2004-07-18 10:20
wyli
Rank: 1
等 级:新手上路
帖 子:3
专家分:0
注 册:2004-7-17
得分:0 
可惜我是菜鸟,不知道怎么把这段代码加进去!
2004-07-18 11:00
wyli
Rank: 1
等 级:新手上路
帖 子:3
专家分:0
注 册:2004-7-17
得分:0 
以下是引用遥望在2004-07-18 10:20:26的发言: 看看这个有用吗?function smallit(){ var height1=PhotoViewer.images1.height; var width1=PhotoViewer.images1.width; PhotoViewer.images1.height=height1/1.2; PhotoViewer.images1.width=width1/1.2; } function bigit(){ var height1=PhotoViewer.images1.height; var width1=PhotoViewer.images1.width; PhotoViewer.images1.height=height1*1.2; PhotoViewer.images1.width=width1*1.2; } function fullit() { var width_s=screen.width-10; var height_s=screen.height-30; window.open("Photo_View.asp?UrlID=<%=UrlID%>&PhotoID=<%=PhotoID%>", "PhotoView", "width="+width_s+",height="+height_s+",left=0,top=0,location=no,toolbar=no,status=no,resizable=no,scrollbars=yes,menubar=no,directories=no"); } function realsize() { PhotoViewer.images1.height=PhotoViewer.images2.height; PhotoViewer.images1.width=PhotoViewer.images2.width; PhotoViewer.block1.style.left = 0; PhotoViewer.block1.style.top = 0; } function featsize() { var width1=PhotoViewer.images2.width; var height1=PhotoViewer.images2.height; var width2=760; var height2=500; var h=height1/height2; var w=width1/width2; if(height1<height2&&width1<width2) { PhotoViewer.images1.height=height1; PhotoViewer.images1.width=width1; } else { if(h>w) { PhotoViewer.images1.height=height2; PhotoViewer.images1.width=width1*height2/height1; } else { PhotoViewer.images1.width=width2; PhotoViewer.images1.height=height1*width2/width1; } } PhotoViewer.block1.style.left = 0; PhotoViewer.block1.style.top = 0; }
请问遥忘:这段代码怎么插进去?谢谢
2004-07-19 22:27



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




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

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