HTML代码 实现图片滚动,鼠标放上去停止并且图片放大 30
<html><head><metahttp-equiv="Content-Language"content="zh-cn"><metahttp-equiv="Conten...
<html>
<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>新建网页 1</title>
</head>
<body background="images/yini-bcknd1.jpg">
<div id="butong_net_right" style="overflow:hidden;width:1149px;height:246px">
<table cellpadding="0" cellspacing="0" border="0">
<tr><td id="butong_net_right1" valign="top" align="center">
<table cellpadding="2" cellspacing="0" border="0">
<tr align="center">
<td width="176">
<img src="images/110610144398135-160x160.jpg" width="240" height="150"></td>
<td width="240">
<img src="images/n-ad.jpg" width="240" height="150"></td>
<td>
<img src="images/x_large_EG1E_1cfe00000dd91262.jpg" width="240" height="150"></td>
<td>
<img src="images/6194cb1387f7f909dd540190.jpg" width="240" height="150"></td>
<td>
<img src="images/20120102112707_WaZEP1副本.jpg" width="133" height="157"></td>
<td width="4"> </td>
</tr>
</table>
</td>
<td id="butong_net_right2" valign="top"></td>
</tr>
</table>
</div>
<script>
var speed=10//速度数值越大速度越慢
butong_net_right2.innerHTML=butong_net_right1.innerHTML
function Marquee4(){
if(butong_net_right.scrollLeft<=0)
butong_net_right.scrollLeft+=butong_net_right2.offsetWidth
else{
butong_net_right.scrollLeft--
}
}
var MyMar4=setInterval(Marquee4,speed)
butong_net_right.onmouseover=function() {clearInterval(MyMar4)}
butong_net_right.onmouseout=function() {MyMar4=setInterval(Marquee4,speed)}
</script>
</body>
这是图片滚动的,我不知道该怎么插入鼠标移上去图片放大的代码
</html> 展开
<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>新建网页 1</title>
</head>
<body background="images/yini-bcknd1.jpg">
<div id="butong_net_right" style="overflow:hidden;width:1149px;height:246px">
<table cellpadding="0" cellspacing="0" border="0">
<tr><td id="butong_net_right1" valign="top" align="center">
<table cellpadding="2" cellspacing="0" border="0">
<tr align="center">
<td width="176">
<img src="images/110610144398135-160x160.jpg" width="240" height="150"></td>
<td width="240">
<img src="images/n-ad.jpg" width="240" height="150"></td>
<td>
<img src="images/x_large_EG1E_1cfe00000dd91262.jpg" width="240" height="150"></td>
<td>
<img src="images/6194cb1387f7f909dd540190.jpg" width="240" height="150"></td>
<td>
<img src="images/20120102112707_WaZEP1副本.jpg" width="133" height="157"></td>
<td width="4"> </td>
</tr>
</table>
</td>
<td id="butong_net_right2" valign="top"></td>
</tr>
</table>
</div>
<script>
var speed=10//速度数值越大速度越慢
butong_net_right2.innerHTML=butong_net_right1.innerHTML
function Marquee4(){
if(butong_net_right.scrollLeft<=0)
butong_net_right.scrollLeft+=butong_net_right2.offsetWidth
else{
butong_net_right.scrollLeft--
}
}
var MyMar4=setInterval(Marquee4,speed)
butong_net_right.onmouseover=function() {clearInterval(MyMar4)}
butong_net_right.onmouseout=function() {MyMar4=setInterval(Marquee4,speed)}
</script>
</body>
这是图片滚动的,我不知道该怎么插入鼠标移上去图片放大的代码
</html> 展开
展开全部
没仔细看你代码巧迹渗,先说了在看下。
要鼠标悬州拍浮效果干吗不用onmousemove和onmouseout结孝脊合使用?
要鼠标悬州拍浮效果干吗不用onmousemove和onmouseout结孝脊合使用?
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询