当前位置:首页 > 代码 > 正文

产品多图代码(商品代码图片)

admin 发布:2022-12-19 20:23 158


本篇文章给大家谈谈产品多图代码,以及商品代码图片对应的知识点,希望对各位有所帮助,不要忘了收藏本站喔。

本文目录一览:

京东产品内页多图展示代码怎么使用

我也是用的这个代码,但是我用到了asp里面。代码虽然不一样,但是思路是一样的,看看我的思路吧,--只粘贴的相关部分*(参照下载的代码先)。

…………div id=preview

div id=spec-n1 %

set aboutlist=server.CreateObject("adodb.recordset")

aboutlist.open "select top 1 * from products order by id desc",conn,1,1

if aboutlist.eof and aboutlist.bof then

response.Write(" 暂无记录 !")

end if

while not aboutlist.eof

%

IMG height=405

src="%=aboutlist("img")%" jqimg="%=aboutlist("img")%" width=1006%

aboutlist.movenext

wend

aboutlist.close

set aboutlist=nothing

%

/div

div id=spec-n5

div class=control id=spec-left

img src="images/left.jpg" /

/div

div id=spec-list style="width: 900px; height: 54px"

ul class=list-h

%

BigClassID=request.QueryString("BigClassID")

SmallClassID=request.QueryString("SmallClassID")

if not isnumeric(BigClassID) or not isnumeric(SmallClassID) then

Response.Write "scriptalert('警告!请勿尝试注入!');history.go(-1);/script"

Response.End()

end if

set rs=server.createobject("adodb.recordset")

if BigClassID="" then

exec="select * from products order by id desc"

end if

rs.open exec,conn,1,1

liimg src="%=rs("img")%" /li%

rs.movenext

next

%

/ul

/div

div class=control id=spec-right

img src="images/right.jpg" /

/div

/div

/div

SCRIPT type=text/javascript………………

请教大师,如何修改DEDE产品内页多图展示代码左右图方向,

你好

问题1:

找到网站根目录下的js目录中的public.js文件其中:

1(".13").n(6(){1(b).B().z({r:1(b).B().r()+w})});改成1(".13").n(6(){1(b).B().z({r:1(b).B().r()-w})});

1(".16").n(6(){1(b).C().z({r:1(b).C().r()-w})});改成1(".16").n(6(){1(b).C().z({r:1(b).C().r()+w})});

就OK了

问题2:

同样是这个文件

搜索到click这个单词,替换为hover就OK了

希望以上回答能帮到你

点击图片换图(多图)的代码

试试这个多图片切换效果

有12345数字一起切换

鼠标点一下数字会变换到另一张图片,不点就会自动换

里面有教程和源码

产品多图代码的介绍就聊到这里吧,感谢你花时间阅读本站内容,更多关于商品代码图片、产品多图代码的信息别忘了在本站进行查找喔。

版权说明:如非注明,本站文章均为 AH站长 原创,转载请注明出处和附带本文链接;

本文地址:http://ahzz.com.cn/post/22705.html


取消回复欢迎 发表评论:

分享到

温馨提示

下载成功了么?或者链接失效了?

联系我们反馈

立即下载