源码如下:
<style type="text/css"> *{margin:0;padding:0;} body{height:2000px;} .floatAd{width:124px;height:299px; text-align:center; position:fixed;margin-left:0;top:109px; _position:absolute; background:url(//img.jbzj.com/demoimg/2014/bg_slide2_120_270.png) no-repeat;} .floatAd a{display:block;} .floatAd img{border:none;} .floatAd .closeAd{width:50px; height:20px; display:block; cursor:pointer;margin:9px 0 0 auto;} .flAd{left:0;} .frAd{right:0;} </style> <div class="floatAd flAd"> <a href="#" target="_blank"><img src="/UploadFiles/2021-04-02/#">我们还可以改下代码,实现“单边展示飘浮广告,多个广告轮播展示”的效果,更改后的源代码:
<style type="text/css"> *{margin:0;padding:0;} body{height:2000px;} .floatAd{width:124px;height:299px; text-align:center; position:fixed;margin-left:0;top:109px;right:0; _position:absolute; background:url(//img.jbzj.com/demoimg/2014/bg_slide2_120_270.png) no-repeat;} .floatAd a{display:block;} .floatAd img{border:none;} .floatAd .closeAd{width:50px; height:20px; display:block; cursor:pointer;margin:9px 0 0 auto;} </style> <div class="floatAd"> <a href="#" target="_blank"><img src="/UploadFiles/2021-04-02/#">
最新资源
- 《林子祥 最爱40周年》[FLAC/分轨][1.7GB]
- Beyond《Beyond 精选专辑》[FLAC/分轨][2.8GB]
- 许巍《许巍精选专辑》[FLAC/分轨][1.9GB]
- 群星.2024-繁花电视剧原声带3CD【环球】【WAV+C
- 江希文.1994-伝说少女(饿狼伝说动画原声大碟)【
- 洪荣宏.2010-上爱的人【华特】【WAV+CUE】
- 《大牌国语情歌 经典再现 深情对唱 2CD》[WAV/分
- 《陈百强粉红色的一生精选 3CD》[FLAC/分轨][1.
- 《丁当 20首重量级歌曲 Fu Good 下一站天后 2CD
- 歌莉雅.2012-My.Voice.Story【环星】【FLAC分轨