欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

弹出框与图片轮播

程序员文章站 2022-03-11 15:45:24
...

弹出框与图片轮播

弹出框与图片轮播







/*#a{
border: 1px solid #000000;
width: 200px; height: 100px;
}*/
/*#a img{
margin: 50px 20px ;
}*/
.q{
border: 1px solid orange;
width: 100px;
height: 120px;
}


function message(){
alert("娘子")
}
function leave(){
alert("啊哈")
}


<div class="q" onmouseover="message()" onmouseout="leave()">

</div>
<marquee id="a"onmouseover="a.stop()" onmouseout="a.start()">
    <img src="img/5ce6c97499d2e3c98128bce577532b1a_u=1944582709,2686578056&fm=27&gp=0.jpg" />
    <img src="img/8e4c2a13559c55992c3ea3024f510ea0_u=3769135348,2182916940&fm=27&gp=0.jpg" />
    <img src="img/ab010207aaf7e47e1f925c8c2f20abd3_u=884009304,770923498&fm=27&gp=0.jpg" />
    <img src="img/b4bc6e68837784a9de9db6d8eaf0ebee_u=2709317930,2738431726&fm=27&gp=0.jpg" />
    <img src="img/d3f94641e494b7c3a0db49996235f973_u=1015867789,3274288876&fm=27&gp=0.jpg" />
</marquee>
<div id="b">
    显示文字
</div>


相关标签: 弹出框