zoukankan      html  css  js  c++  java
  • 基于jQuery实现滚动新闻代码下载

    分享一款基于jQuery实现滚动新闻代码下载。这是一款基于bootstrup 3实现的响应式jQuery滚动新闻插件。效果图如下:

    在线预览   源码下载

    实现的代码。

    html代码:

    <div class="htmleaf-container">
            <header class="htmleaf-header bgcolor-10">
                <h1>基于jQuery实现滚动新闻代码下载</h1>
    
            </header>
            <div class="container mp30">
                <div class="row">
                    <div class="col-md-4">
                        <div class="panel panel-default">
                            <div class="panel-heading">
                                <span class="glyphicon glyphicon-list-alt"></span><b>News</b></div>
                            <div class="panel-body">
                                <div class="row">
                                    <div class="col-xs-12">
                                        <ul class="demo1">
                                            <li class="news-item">
                                                <table cellpadding="4">
                                                    <tr>
                                                        <td>
                                                            <img src="images/1.png" width="60" class="img-circle" />
                                                        </td>
                                                        <td>
                                                            Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam in venenatis enim...
                                                            <a href="#">Read more...</a>
                                                        </td>
                                                    </tr>
                                                </table>
                                            </li>
                                            <li class="news-item">
                                                <table cellpadding="4">
                                                    <tr>
                                                        <td>
                                                            <img src="images/2.png" width="60" class="img-circle" />
                                                        </td>
                                                        <td>
                                                            Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam in venenatis enim...
                                                            <a href="#">Read more...</a>
                                                        </td>
                                                    </tr>
                                                </table>
                                            </li>
                                            <li class="news-item">
                                                <table cellpadding="4">
                                                    <tr>
                                                        <td>
                                                            <img src="images/3.png" width="60" class="img-circle" />
                                                        </td>
                                                        <td>
                                                            Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam in venenatis enim...
                                                            <a href="#">Read more...</a>
                                                        </td>
                                                    </tr>
                                                </table>
                                            </li>
                                            <li class="news-item">
                                                <table cellpadding="4">
                                                    <tr>
                                                        <td>
                                                            <img src="images/4.png" width="60" class="img-circle" />
                                                        </td>
                                                        <td>
                                                            Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam in venenatis enim...
                                                            <a href="#">Read more...</a>
                                                        </td>
                                                    </tr>
                                                </table>
                                            </li>
                                            <li class="news-item">
                                                <table cellpadding="4">
                                                    <tr>
                                                        <td>
                                                            <img src="images/5.png" width="60" class="img-circle" />
                                                        </td>
                                                        <td>
                                                            Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam in venenatis enim...
                                                            <a href="#">Read more...</a>
                                                        </td>
                                                    </tr>
                                                </table>
                                            </li>
                                            <li class="news-item">
                                                <table cellpadding="4">
                                                    <tr>
                                                        <td>
                                                            <img src="images/6.png" width="60" class="img-circle" />
                                                        </td>
                                                        <td>
                                                            Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam in venenatis enim...
                                                            <a href="#">Read more...</a>
                                                        </td>
                                                    </tr>
                                                </table>
                                            </li>
                                            <li class="news-item">
                                                <table cellpadding="4">
                                                    <tr>
                                                        <td>
                                                            <img src="images/7.png" width="60" class="img-circle" />
                                                        </td>
                                                        <td>
                                                            Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam in venenatis enim...
                                                            <a href="#">Read more...</a>
                                                        </td>
                                                    </tr>
                                                </table>
                                            </li>
                                        </ul>
                                    </div>
                                </div>
                            </div>
                            <div class="panel-footer">
                            </div>
                        </div>
                    </div>
                    <div class="col-md-4">
                        <div class="panel panel-default">
                            <div class="panel-heading">
                                <span class="glyphicon glyphicon-list-alt"></span><b>News</b></div>
                            <div class="panel-body">
                                <div class="row">
                                    <div class="col-xs-12">
                                        <ul class="demo2">
                                            <li class="news-item">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam
                                                in venenatis enim... <a href="#">Read more...</a></li>
                                            <li class="news-item">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam
                                                in venenatis enim... <a href="#">Read more...</a></li>
                                            <li class="news-item">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam
                                                in venenatis enim... <a href="#">Read more...</a></li>
                                            <li class="news-item">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam
                                                in venenatis enim... <a href="#">Read more...</a></li>
                                            <li class="news-item">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam
                                                in venenatis enim... <a href="#">Read more...</a></li>
                                            <li class="news-item">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam
                                                in venenatis enim... <a href="#">Read more...</a></li>
                                        </ul>
                                    </div>
                                </div>
                            </div>
                            <div class="panel-footer">
                            </div>
                        </div>
                    </div>
                    <div class="col-md-4">
                        <div class="panel panel-default">
                            <div class="panel-heading">
                                <span class="glyphicon glyphicon-list-alt"></span><b>News</b></div>
                            <div class="panel-body">
                                <div class="row">
                                    <div class="col-xs-12">
                                        <ul id="demo3">
                                            <li class="news-item">Curabitur porttitor ante eget hendrerit adipiscing. Maecenas at
                                                magna accumsan, rhoncus neque id, fringilla dolor. <a href="#">Read more...</a></li>
                                            <li class="news-item">Curabitur porttitor ante eget hendrerit adipiscing. Maecenas at
                                                magna accumsan, rhoncus neque id, fringilla dolor. <a href="#">Read more...</a></li>
                                            <li class="news-item">Praesent ornare nisl lorem, ut condimentum lectus gravida ut.
                                                Ut velit nunc, vehicula volutpat laoreet vel, consequat eu mauris. <a href="#">Read
                                                    more...</a></li>
                                            <li class="news-item">Nunc ultrices tortor eu massa placerat posuere. Vivamus viverra
                                                sagittis nunc. Nunc et imperdiet magna. Mauris sed eros nulla. <a href="#">Read more...</a></li>
                                            <li class="news-item">Morbi sodales tellus sit amet leo congue bibendum. Ut non mauris
                                                eu neque fermentum pharetra. <a href="#">Read more...</a></li>
                                            <li class="news-item">In pharetra suscipit orci sed viverra. Praesent at sollicitudin
                                                tortor, id sagittis magna. Fusce massa sem, bibendum id. <a href="#">Read more...</a>
                                            </li>
                                            <li class="news-item">Maecenas nec ligula sed est suscipit aliquet sed eget ipsum. Suspendisse
                                                id auctor nibh. Ut porttitor volutpat augue, non sodales odio dignissi id. <a href="#">
                                                    Read more...</a></li>
                                            <li class="news-item">Onec bibendum consectetur diam, nec euismod urna venenatis eget.
                                                Cras consequat convallis leo. <a href="#">Read more...</a> </li>
                                        </ul>
                                    </div>
                                </div>
                            </div>
                            <div class="panel-footer">
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>

    via:http://www.w2bc.com/Article/38303

  • 相关阅读:
    puppeteer无头模式下反反爬配置集合
    真正可用的蓝奏云地址解析及下载脚本
    在无图形界面Linux里使用selenium进行采集及注意事项
    某图片站反爬加密字段x-api-key破解
    Pandorabox路由器申请Let's Encrypt证书,为内网web服务提供SSL支持
    PornHub在线视频接口逆向
    DuFile网盘逆向下载链接免等待破解思路
    探究Linux支持最长文件名是255字节还是255字符
    《Linux就该这么学》day4-6
    《Linux就该这么学》day3
  • 原文地址:https://www.cnblogs.com/liaohuolin/p/4505736.html
Copyright © 2011-2022 走看看