• 左右滚动公告代码和上下滚动公告代码


    左右滚动

    <section id="1_607" class="yead_editor" οnmοusedοwn="shifuMouseDown('1_607')" label="Copyright ? 2015 Yead All Rights Reserved." style="font-size:14px;font-family:'Microsoft YaHei';margin: 5px auto;white-space: normal;">
        <section class="yead_bgc" style="position:static;box-sizing:border-box;text-align:center;background-color:#ff391f;padding-top:10px">
            <svg style="100%;height:2em" data-width="100%">
                <text y="16" x="294.184" fill="#ffffff" style="font-size:16px;box-sizing:border-box">
                    <tspan>
                        周末双休日,来淘宝嗨一次。
                    </tspan>
                    <tspan>
                        周末双休日,来淘宝嗨一次。
                    </tspan>
                    <animate attributename="x" from="0" to="120%" begin="0s" dur="5s" repeatcount="indefinite"></animate>

    上下滚动
    <section id="1_609" class="yead_editor" οnmοusedοwn="shifuMouseDown('1_609')" label="Copyright ? 2015 Yead All Rights Reserved." style="font-size:14px;font-family:'Microsoft YaHei';margin: 5px auto;white-space: normal;">
        <section class="yead_bgc" style="position: static; box-sizing: border-box; padding: 0px 10px; background-color: rgb(5, 157, 127);">
            <section style="margin:0;padding:0;text-align:center">
                <svg style="height:2em" data-width="100%">
                    <text y="138.494%" x="50%" fill="#ffffff" style="font-size:16px;text-anchor:middle;box-sizing:border-box">
                        <tspan>
                            周末去哪嗨?来淘宝选购吧。
                        </tspan>
                        <animate attributename="y" from="0%" to="150%" begin="0s" dur="5s" repeatcount="indefinite"></animate>
                    </text>
                </svg>
            </section>
        </section>
    </section>


  • 相关阅读:
    使用beautifulsoup4解析内容
    爬虫的概述以及使用(request发送请求)
    爬虫的概述以及使用(urllib发送请求)
    NoteBook的安装和使用
    云端服务器
    SQLServer数据库访问链接
    python爬虫调度器
    Python的应用领域
    Python小记2
    Python小记1
  • 原文地址:https://www.cnblogs.com/jalenFish/p/14099116.html
Copyright © 2020-2023  润新知