轮播图片

所谓轮播就是同一套节目以一定时间间隔(10分钟)采用多个频道进行循环播放,用户通过频道选择来达到前进后退的视频点播效果。片源一般放在运营商的IPTV平台中。这种业务也是传统直播业务的改良形式,是介于点播和直播的一种播放方式,特别适合于热门新片播放和热点事件报道,以求在短时间内有效分流业务和扩充服务能力。

在网页上轮播图片,是为了使页面更加的美观

代码:

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>

    <title></title>

    <link href="BootstrapSouce/css/bootstrap.min.css" rel="stylesheet" />

    <script src="BootstrapSouce/js/jquery.min.js"></script>

    <script src="BootstrapSouce/js/bootstrap.min.js"></script>

</head>

<body>

    <div id="myCarousel" class="carousel slide">

        <ol class="carousel-indicators">

            <li data-target="#myCarousel" data-slide-to="0" class="active"></li>

            <li data-target="#myCarousel" data-slide-to="1"></li>

            <li data-target="#myCarousel" data-slide-to="2"></li>

        </ol> 

        <div class="carousel-inner" style="width:960px;margin:0px auto">

            <div class="item active">

                <img src="img/slide1.jpg" alt="Frist slide" />

            </div>

            <div class="item">

                <img src="img/slide2.jpg" alt="Second slide" />

            </div>

            <div class="item">

                <img src="img/slide3.jpg" alt="Thrid slide" />

            </div>

        </div>

        <a class="carousel-control left" style="line-height:420px;"href="#myCarousel"data-slide="prev">

            <img src="img/l.png" />

        </a>

        <a class="carousel-control right" style="line-height:420px;"href="#myCarousel" data-slide="next">

            <img src="img/r.png" />

        </a>

    </div>

</body>

</html>


另一种轮播图片

代码

<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

    <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />

    <title>jquery全景图片自动缓慢左右移动演示预览 - 模板王JS网页特效</title>

    <link href="http://www.mobanwang.com/css/jsDemo.css" rel="stylesheet" type="text/css" media="all" />

</head>

<body>

    <div id="demoIntro"><span class="jsDown"><a href="http://js.mobanwang.com/showsoftdown.asp?softid=10401" target="_blank">点击下载该特效</a><a href="http://js.mobanwang.com/201106/10401.html">返回</a></span><span>jquery全景图片自动缓慢左右移动</span></div>

    <div id="demoPage">

        <iframe id="leftFrame" name="leftFrame" src="http://js.mobanwang.com/source/201106/201106177/index.html" frameborder="0" scrolling="auto" style="width:100%; height:100%;"></iframe>

    </div>

</body>

</html>


  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值