Handsome jquery rolling component ~~ Jquery. vticker-min.js

Source: Internet
Author: User

This is the rolling news list of graduation project. I would like to post this article ~~


Jquery. vticker-min.js official




This is the original page code


. News-container
Height: 270px;
Background: #222222;
Margin-top: 5px;
Margin-bottom: 5px;

. News-container ul Li
Padding-bottom: 0px;
Font-size: 12px;
Height: 12px;
Color: white;
<SCRIPT type = "text/JavaScript" src = "JS/jquery-1.3.2.min.js"> </SCRIPT>
<SCRIPT type = "text/JavaScript" src = "JS/jquery. vticker-min.js"> </SCRIPT>
<SCRIPT type = "text/JavaScript">
$ (Document). Ready (function (){
// Scroll the news bar
$ ('. News-iner'). vticker ({
Velocity: 500,
Pause: 3000,
Showitems: 3,
Animation: 'fade ',
Mousepause: false,
Height: 0,
Direction: 'up'

<Div class = "news-container" style = "width: 260px; margin: auto;">
<Li style = "height: 40px"> <a href = "#"> This is News Title 1 </a> <br/> </LI>
<Li style = "height: 40px"> <a href = "#"> News 2 </a> <br/> </LI>
<Li style = "height: 40px"> <a href = "#"> News 3 </a> <br/> </LI>
<Li style = "height: 40px"> <a href = "#"> News 4 </a> <br/> </LI>
<Li style = "height: 40px"> <a href = "#"> News 5 </a> <br/> </LI>



Download Code:



Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.