利用HTML5实现圆形导航全屏图片切换



如需定制开发(网站开发、二次开发)在线咨询,请点击>> QQ:753511799

154 613 205



特效描述:利用HTML5实现 圆形导航 全屏图片切换。利用HTML5实现圆形导航全屏图片切换

代码结构

1. 引入CSS

<link rel="stylesheet" type="text/css" href="assets/css/demo.css" />

2. 引入JS

<script src="assets/js/jquery-1.11.0.min.js"></script>
<script src="assets/js/TweenMax.min.js"></script>
<script src="assets/js/imagesloaded.pkgd.min.js"></script>
<script src="assets/js/CSSPlugin.min.js"></script>
<script src="assets/js/TextPlugin.min.js"></script>
<script src="assets/js/demo.js"></script>

3. HTML代码

<!-- coidea:loader START -->
<div class="loader">
  <div class="lds-ripple">
	<div></div>
	<div></div>
  </div>
</div>
<!-- coidea:loader END -->
<!-- slideshow START -->
<section class="slideshow">
  <!-- slideshow:navigation START -->
  <ul class="navigation">
	<!-- slideshow:navigation:item START -->
	<li class="navigation-item active">
	  <span class="rotate-holder"></span>
	  <span class="background-holder" style="background-image: url(assets/img/img-1.jpg);"></span>
	</li>
	<!-- slideshow:navigation:item END -->
	<!-- slideshow:navigation:item START -->
	<li class="navigation-item">
	  <span class="rotate-holder"></span>
	  <span class="background-holder" style="background-image: url(assets/img/img-2.jpg);"></span>
	</li>
	<!-- slideshow:navigation:item END -->
	<!-- slideshow:navigation:item START -->
	<li class="navigation-item">
	  <span class="rotate-holder"></span>
	  <span class="background-holder" style="background-image: url(assets/img/img-3.jpg);"></span>
	</li>
	<!-- slideshow:navigation:item END -->
	<!-- slideshow:navigation:item START -->
	<li class="navigation-item">
	  <span class="rotate-holder"></span>
	  <span class="background-holder" style="background-image: url(assets/img/img-4.jpg);"></span>
	</li>
	<!-- slideshow:navigation:item END -->
	<!-- slideshow:navigation:item START -->
	<li class="navigation-item">
	  <span class="rotate-holder"></span>
	  <span class="background-holder" style="background-image: url(assets/img/img-5.jpg);"></span>
	</li>
	<!-- slideshow:navigation:item END -->
	<!-- slideshow:navigation:item START -->
	<li class="navigation-item">
	  <span class="rotate-holder"></span>
	  <span class="background-holder" style="background-image: url(assets/img/img-6.jpg);"></span>
	</li>
	<!-- slideshow:navigation:item END -->
	<!-- slideshow:navigation:item START -->
	<li class="navigation-item">
	  <span class="rotate-holder"></span>
	  <span class="background-holder" style="background-image: url(assets/img/img-7.jpg);"></span>
	</li>
	<!-- slideshow:navigation:item END -->
	<!-- slideshow:navigation:item START -->
	<li class="navigation-item">
	  <span class="rotate-holder"></span>
	  <span class="background-holder" style="background-image: url(assets/img/img-8.jpg);"></span>
	</li>
	<!-- slideshow:navigation:item END -->
	<!-- slideshow:navigation:item START -->
	<li class="navigation-item">
	  <span class="rotate-holder"></span>
	  <span class="background-holder" style="background-image: url(assets/img/img-9.jpg);"></span>
	</li>
	<!-- slideshow:navigation:item END -->
  </ul>
  <!-- slideshow:navigation END -->
  <!-- slideshow:details START -->
  <div class="detail">
	<!-- slideshow:details START -->
	<div class="detail-item active">
	  <div class="headline">Amsterdam</div>
	  <div class="background" style="background-image: url(assets/img/img-1.jpg)"></div>
	</div>
	<!-- slideshow:details END -->
	<!-- slideshow:details START -->
	<div class="detail-item">
	  <div class="headline">Rome</div>
	  <div class="background" style="background-image: url(assets/img/img-2.jpg);"></div>
	</div>
	<!-- slideshow:details END -->
	<!-- slideshow:details START -->
	<div class="detail-item">
	  <div class="headline">Paris</div>
	  <div class="background" style="background-image: url(assets/img/img-3.jpg);"></div>
	</div>
	<!-- slideshow:details END -->
	<!-- slideshow:details START -->
	<div class="detail-item">
	  <div class="headline">Prague</div>
	  <div class="background" style="background-image: url(assets/img/img-4.jpg);"></div>
	</div>
	<!-- slideshow:details END -->
	<!-- slideshow:details START -->
	<div class="detail-item">
	  <div class="headline">Moscow</div>
	  <div class="background" style="background-image: url(assets/img/img-5.jpg);"></div>
	</div>
	<!-- slideshow:details END -->
	<!-- slideshow:details START -->
	<div class="detail-item">
	  <div class="headline">Kyoto</div>
	  <div class="background" style="background-image: url(assets/img/img-6.jpg);"></div> 
	</div>
	<!-- slideshow:details END -->
	<!-- slideshow:details START -->
	<div class="detail-item">
	  <div class="headline">Sydney</div>
	  <div class="background" style="background-image: url(assets/img/img-7.jpg);"></div>
	</div>
	<!-- slideshow:details END -->
	<!-- slideshow:details START -->
	<div class="detail-item">
	  <div class="headline">Istanbul</div>
	  <div class="background" style="background-image: url(assets/img/img-8.jpg);"></div>
	</div>
	<!-- slideshow:details END -->
	<!-- slideshow:details START -->
	<div class="detail-item">
	  <div class="headline">Hong Kong</div>
	  <div class="background" style="background-image: url(assets/img/img-9.jpg);"></div>
	</div>
	<!-- slideshow:details END -->
  </div>
  <!-- slideshow:details END -->
</section>
<!-- slideshow END -->
<div style="text-align:center;margin:50px 0; font:normal 14px/24px 'MicroSoft YaHei';">
</div>



用户评论
大牛,别默默的看了,快登录帮我点评一下吧!:)      登录 | 注册
暗夜小说:ysdnt.oicp.net
暗夜小说:ysdnt.oicp.net :  这个代码怎么加超链接呢,加了 不跳转是怎么一回事
2020-05-26 08:44:41


热门标签: 导航切换 图片切换 文字切换 背景切换 手风琴 选项卡自动切换 视频切换 列表切换 渐隐切换 全屏切换 切换按钮 缩放切换 滚动切换 滑动选项卡切换 选项卡切换 滑动手风琴

×
×
51前端

注册

×
绑定手机

请绑定手机号,在继续操作

×
单次下载支付

应付金额:279

支付完成后,回到下载页面,在进行下载

官方QQ群
意见反馈
qq群

扫描上面二维码加微信群

官方QQ群

jQuery/js讨论群
群号:642649996
Css3+Html5讨论群
群号:322131262

加群请备注:从官网了解到