怎么从把小广告从10秒调到5秒?求大神
jquery吧
全部回复
仅看楼主
level 1
一陆先生 楼主
<script type="text/javascript" src="js/jquery-1.12.4.js"></script>
<style>
.ad{
width:200px;height:200px; background-color:#9Fc;
position:fixed;
right:0;
bottom:0;
}
</style>
</head>
<body>
<script>
$(function(e){
$('<div><span>X</span></div>').appendTo('body');
window.setTimeout(function(){
$('.ad').sildeUp(3000);
},3000);
$('.cls').click(function(){
$('.ad').slideUp(3000);
});
});
</script>
</body>
</html>
2021年06月23日 00点06分 1
1