Thursday, March 5, 2020

jQuery Vertical Scrolling Web Ticker Plugin - vticker

vticker is a simple jQuery plugin for creating a vertical scrolling ticker widget with one line of javascript code. Items can be paused when the mouse hovers over an item.

Basic Usage:

1. Inlcude jQuery library and jQuery vticker plugin on the web page
2<script src="jquery.vticker.js"></script>
2. Create the html for the web ticker
1<div id="example">
2<ul>
3    <li>Item 1</li>
4    <li>Item 1</li>
5    <li>Item 3</li>
6    ...
7</ul>
8</div>
3. Initialize the plugin.
1<script>
2$(function() {
3$('#example').vTicker();
4});
5</script>
4. Available options.
01<script>
02$(function() {
03$('#example').vTicker({
04speed: 700,
05pause: 4000,
06showItems: 1,
07mousePause:true,
08height: 0,
09animate:true,
10margin: 0,
11padding: 0,
12startPaused:false});
13});
14</script>



Source: https://www.jqueryscript.net/text/jQuery-Vertical-Scrolling-Web-Ticker-Plugin-vticker.html

No comments:

Post a Comment

Please Comment Here!

How to backup and download Database using PHP

< ?php $mysqlUserName = 'databaseusername' ; $mysqlPassword = 'databasepassword' ; $mysqlHostNa...