求一个js效果,图片轮换的。

大家看图,效果就是点四周的四个小图,中间的图换成对应的图。谢谢大家了... 大家看图,效果就是点四周的四个小图,中间的图换成对应的图。谢谢大家了 展开
 我来答
任德宝
2012-05-25 · 十年专注连锁品牌营销
任德宝
采纳数:159 获赞数:513

向TA提问 私信TA
展开全部
去阿里妈妈找找把,可以找类似的修改啊
清幽幻梦
2012-05-14 · TA获得超过118个赞
知道小有建树答主
回答量:180
采纳率:0%
帮助的人:136万
展开全部
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>divshow.html</title>

<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="this is my page">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">

<!--<link rel="stylesheet" type="text/css" href="./styles.css">-->
<script type="text/javascript">
function changeshow(obj){
var showsrc = obj.src;
document.getElementById("showimg").src=showsrc;
}
</script>
</head>

<body><div>
<div style="index-z:6; background-color: gray;height: 200px;width: 100%; position: absolute;"><img id="showimg" style="height: 200px;width:100%"/></div>
<div style="z-index:2;height: 50px;width: 50px;position: absolute;"><img onmouseover="changeshow(this);" style="height: 50px;width:50px;" src="images/image.jpg"/></div>
<div style="z-index:2;height: 50px;width: 50px;position: absolute;right: 10px;"><img onmouseover="changeshow(this);" style="height: 50px;width:50px" src="images/img_2.gif"/></div>
<div style="z-index:2;height: 50px;width: 50px;position: absolute;top: 160px;"><img onmouseover="changeshow(this);" style="height: 50px;width:50px" src="images/img_3.gif"/></div>
<div style="z-index:2;height: 50px;width: 50px;position: absolute; top:160px;right:10px"><img onmouseover="changeshow(this);" style="height: 50px;width:50px" src="images/img_4.gif"/></div>
</div>
</body>
</html>

接分
已赞过 已踩过<
你对这个回答的评价是?
评论 收起
推荐律师服务: 若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询

为你推荐:

下载百度知道APP,抢鲜体验
使用百度知道APP,立即抢鲜体验。你的手机镜头里或许有别人想知道的答案。
扫描二维码下载
×

类别

我们会通过消息、邮箱等方式尽快将举报结果通知您。

说明

0/200

提交
取消

辅 助

模 式