布局框架

全屏视频图片轮播布局特效

阿里云


这是一款带视频播放的全屏轮播图布局特效。该布局以轮播图的方式展示消息,当用户点击轮播图之后,会全屏播放指定的视频文件。

使用方法

在页面中引入 demo.css、jquery 和 TweenMax.min.js、CSSPlugin.min.js 文件,以及 demo.js 文件。

也想出现在这里?联系我们
创客主机
  1. <link rel="stylesheet" type="text/css" href="assets/css/demo.css" />
  2. <script src="assets/js/jquery.min.js" type="text/javascript"></script>
  3. <script src="assets/js/TweenMax.min.js"></script>            
  4. <script src="assets/js/CSSPlugin.min.js"></script>            
  5. <script src="assets/js/demo.js"></script>

HTML 结构

页面的 HTML 结构如下。

  1. <div class="slider-helpers">
  2.     <div class="arrea black-arrea"></div>
  3.     <div class="arrea white-arrea"></div>
  4.   </div>
  5.   <div class="slider-holder">
  6.     <div class="slider">
  7.       <div id="slider-item-1" class="slider-item" style="background-image: url(assets/img/img-1.jpg);" data-id="1" data-headline="Renee Johnson" data-description="......">
  8.       </div>
  9.       <div id="slider-item-2" class="slider-item" style="background-image: url(assets/img/img-2.jpg);" data-id="2" data-headline="Logan Boyd" data-description="......">
  10.       </div>
  11.       <div id="slider-item-3" class="slider-item" style="background-image: url(assets/img/img-3.jpg);" data-id="3" data-headline="Leona Day" data-description="......">
  12.       </div>
  13.       <div id="slider-item-4" class="slider-item" style="background-image: url(assets/img/img-4.jpg);" data-id="4" data-headline="Linda Young" data-description="......">
  14.       </div>
  15.       <div id="slider-item-5" class="slider-item" style="background-image: url(assets/img/img-5.jpg);" data-id="5" data-headline="Katrina Steward" data-description="Ramp up lean target audience dynamic look and feel innovation kick-off implementation retainer. Optimize heads down onboarding segment. Retainer good fit tweak affiliate marketing value proposition. Ecosystem organic cross platform regroup ramp up scope out ETA dev environment. Plow through prototype streamline consolidate ROI third party lead generation reach. Dynamic functionality game plan follow up copy deck value-add usability deliverables.">
  16.       </div>
  17.       <div id="slider-item-6" class="slider-item" style="background-image: url(assets/img/img-6.jpg);" data-id="6" data-headline="Jessie Larson" data-description="......">
  18.       </div>
  19.     </div>
  20.     <div class="slider-nav">
  21.       <span class="slider-nav-btn go-next"><img src="assets/img/icon-arrow-top.png"/></span>
  22.       <span class="slider-nav-length"></span>
  23.       <span class="slider-nav-progress"><span class="progress"></span></span>
  24.       <span class="slider-nav-index">1</span>
  25.       <!-- if needed, uncomment this part for prev button - IMPORTANT: styling is not applied to this button!!! -->
  26.       <!-- <div class="slider-nav-btn go-prev">Prev</div> -->
  27.     </div>
  28.   </div>
  29.   <div class="slider-content">
  30.     <div class="slider-content-inner">
  31.       <span class="subheadline">fiction</span>
  32.       <h1>Our Story</h1>
  33.       <p>......</p>
  34.       <a href="#">Read the full Story</a>
  35.     </div>
  36.   </div>
  37. </section>
  38. <!--全屏视频模态窗口-->
  39. <div class="coidea-modal">
  40.   <div class="arrea black-arrea"></div>
  41.   <div class="video-holder">
  42.     <video playsinline="" autoplay="autoplay" muted="" loop="" poster="">
  43.       <source type="video/mp4" class="mp4" src="assets/video/background.mp4">
  44.       <source type="video/webm" class="webm" src="assets/video/background.webm">
  45.     </video>
  46.   </div>
  47.   <div class="coidea-modal-inner">
  48.     <h2></h2>
  49.     <div class="modal-content"></div>
  50.   </div>
  51. </div>

Github 网址:https://github.com/COIDEAwebsite/slideshow-with-fullscreen-detail-view

全屏视频图片轮播布局特效

已有 579 人购买
  • i8j0
查看演示升级 VIP立刻购买

演示地址 下载地址
收藏
(1)

发表回复

热销模板

Ashade - 作品展示摄影相册WordPress汉化主题
LensNews

本站承接 WordPress / PbootCMS / DedeCMS 等
系统建站、仿站、开发、定制等业务!