如何使用 jQuery 创建新闻自动收报机?
新闻自动收报机是一种基于文本的显示,以图形形式显示从上到下或从右到左滚动的新闻文本。在本文中,我们将使用一个名为easy-ticker的 jQuery 插件以简单的方式创建一个新闻自动收报机。
要使用此插件,只需在 HTML 代码的脚本标记中添加 CDN 链接。
让我们看一下 HTML 代码,了解如何使用 Easy-ticker 插件创建新闻行情。
HTML
News Ticker Effect
GFG COURSES
-
Android App with Kotlin
This course will begin from the
basics of Android Development and
will take you to a level where
you can make full fledged Android
apps. It covers things like UI
building, Kotlin programming,
communicating between different
screens of an app,implementing
static and dynamic custom lists,
working with databases ,fetching
data from the internet using REST
APIs, using various important
libraries and working with local
device storage.
-
Data Structure and Algorithm self paced
This course is a complete package that
helps you learn Data Structures and
Algorithms from basic to an advanced
level. The course curriculum has been
divided into 10 weeks where you can
practice questions & attempt the
assessment tests according to your
own pace. The course offers you a
wealth of programming challenges that
will help you to prepare for interviews
with top-notch companies like Microsoft,
Amazon,Adobe etc.
-
Java Backend Course
This course will help you to learn
Advanced Java, Spring / Spring Boot,
Hibernate, RESTful APIs, Micro-services
& related technologies to build Java
-based web applications. The course will
be mentored & guided by an Industry
expert having hands-on experience in
the design, development & maintenance
of Java (Spring / Spring Boot) based
web applications.The course includes 1
major & 2 minor projects based on real
-world applications with guided lab
sessions.
-
Fundamentals of Java and Collections
This course covers the basics of Java
and in-depth explanations to Java
Collections Framework along with video
explanations of some problems based on
the Java Collections Framework. The
Java Collections Framework is a set of
classes, Interfaces, and methods that
provide us various data structures like
LinkedList, ArrayList, HashMap, HashSet
etc.
输出: