基于HTML5鼠标点击淡入淡出切换代码

页面导航:首页 > 网络编程 > JavaScript > 基于HTML5鼠标点击淡入淡出切换代码

基于HTML5鼠标点击淡入淡出切换代码

来源:互联网 作者:脚本宝典 时间:2015-09-17 13:07 【

基于HTML5鼠标点击淡入淡出切换代码。这是一款基于jQuery+HTML5实现的淡入淡出切换全屏幻灯片代码。效果图如下: 实现的代码。 html代码: headerid=immortal_headerdivid=immortal_carouselclass=caro

基于HTML5鼠标点击淡入淡出切换代码。这是一款基于jQuery+HTML5实现的淡入淡出切换全屏幻灯片代码。效果图如下:

实现的代码。

html代码:

<header id="immortal_header">
       <div id="immortal_carousel" class="carousel thumbnail_text_carousel_fade thumbnail_text_carousel_wrapper" data-ride="carousel" data-interval="6000" data-pause="hover">
           <ol class="carousel-indicators thumbnail_text_carousel_indicators">
 
               <li data-target="#immortal_carousel" data-slide-to="0" class="active">
                   <h5>爱编程</h5>
                   <p>www.w2bc.com</p>
               </li>
 
               <li data-target="#immortal_carousel" data-slide-to="1">
                   <h5>爱编程</h5>
                   <p>www.w2bc.com</p>
               </li>
 
               <li data-target="#immortal_carousel" data-slide-to="2">
                   <h5>爱编程</h5>
                   <p>www.w2bc.com</p>
               </li>
 
               <li data-target="#immortal_carousel" data-slide-to="3">
                   <h5>爱编程</h5>
                   <p>www.w2bc.com</p>
               </li>
 
               <li data-target="#immortal_carousel" data-slide-to="4">
                   <h5>爱编程</h5>
                   <p>www.w2bc.com</p>
               </li>
           </ol>
           <div class="carousel-inner" role="listbox">
               <div class="item active">
                   <a href="#">
                       <img src="images/slider_02.jpg" alt="slider 02" />
                   </a>
               </div>
               <div class="item">
                   <a href="#">
                       <img src="images/slider_04.jpg" alt="slider 04" />
                   </a>
               </div>
 
               <div class="item">
                   <a href="#">
                       <img src="images/slider_05.jpg" alt="slider 05" />
                   </a>
               </div>
 
               <div class="item">
                   <a href="#">
                       <img src="images/slider_06.jpg" alt="slider 06" />
                   </a>
               </div>
 
               <div class="item">
                   <a href="#">
                       <img src="images/slider_03.jpg" alt="slider 03" />
                   </a>
               </div>
           </div>
   </header>


Tags:

文章评论

最 近 更 新
热 点 排 行
Js与CSS工具
代码转换工具

<