阿西河

所有教程

公众号
🌙
阿西河前端的公众号

我的收藏

    最近访问  (文章)

      教程列表

      抓包专区
      测试专区

      插件 jQuery.easy ticker 中文API文档

      插件 jQuery.easy ticker 中文API文档 https://github.com/vaakash/jquery-easy-ticker

      jQuery Easy Ticker plugin

      jQuery easy ticker is a news ticker like plugin, which scrolls the list infinitely. It is highly customizable, flexible with lot of features and works in all browsers.

      Demo

      Live plugin demo | Plugin Home page

      Features

      • Two directions available (Up and down).
      • Can be targeted on any template.
      • Flexible API for extending to various applications.
      • Supports ‘easing’ functions.
      • Mouse pause feature available.
      • The speed of the transition can be changed.
      • Controls can be added inorder to Play/pause or move the list Up and down.
      • Cross browser support.
      • Light-weight (4 Kb - Full source / 2.7 Kb - Minified source).

      Syntax

      Include jQuery and jQuery easy ticker in the source and use the

      HTML

      target –> parent –> children

      <div class="myWrapper">
      	<ul>
      		<li>List element 1</li>
      		<li>List element 2</li>
      		<li>List element 3</li>
      		<li>List element 4</li>
      	</ul>
      </div>
      
      or
      
      <div class="myWrapper">
      	<div>
      		<div>Element 1</div>
      		<div>Element 2</div>
      		<div>Element 3</div>
      		<div>Element 4</div>
      	</div>
      </div>
      

      jQuery

      $('.myWrapper').easyTicker({
      	// list of properties
      });
      

      Demo

      Documentation

      Plugin’s documentation is written in its official home page. Check it out in this link

      Requirements

      • jQuery 1.7+

      License

      Copyright (c) 2014 Aakash Chakravarthy, released under the MIT License.

      目录
      目录