News ticker (BBC style)

码农软件 · 软件分类 · 其他jQuery插件 · 2020-01-08 21:57:46

软件介绍

News ticker in the style of that used on the BBC news site.

Sample usage:

$(document).ready(function() {
  var options = {
    newsList: "#news",
    startDelay: 10,
    placeHolder1: " []"
  }
  $().newsTicker(options);
});

for markup as follows:
<ul id="news">
    <li><a target="_blank" rel="nofollow" href="http://www.makemineatriple.com">MakeMineATriple.com</a></li>
    <li><a target="_blank" rel="nofollow" href="http://www.jquery.com">jQuery</a></li>
</ul>

Underline text decoration on the (un-hovered) link is not recommended, for obvious reasons! :-)

The full set of options is:

  • newsList: "#news" // assumes unordered list; specify the ul holding the news items
  • tickerRate: 80 // time gap between display of each letter (ms)
  • startDelay: 100 // delay before first run of the ticker (ms)
  • loopDelay: 3000 // time for which full text of each item is shown at end of print-out (ms)
  • placeHolder1: " |" // character placeholder shown on even loops
  • placeHolder2: "_" // character placeholder shown on odd loops

本文地址:https://codercto.com/soft/d/22964.html

终极算法

终极算法

[美] 佩德罗·多明戈斯 / 黄芳萍 / 中信出版集团 / 2017-1-1 / 68.00元

算法已在多大程度上影响我们的生活? 购物网站用算法来为你推荐商品,点评网站用算法来帮你选择餐馆,GPS系统用算法来帮你选择最佳路线,公司用算法来选择求职者…… 当机器最终学会如何学习时,将会发生什么? 不同于传统算法,现在悄然主导我们生活的是“能够学习的机器”,它们通过学习我们琐碎的数据,来执行任务;它们甚至在我们还没提出要求,就能完成我们想做的事。 什么是终极算法? ......一起来看看 《终极算法》 这本书的介绍吧!

HTML 编码/解码
HTML 编码/解码

HTML 编码/解码

正则表达式在线测试
正则表达式在线测试

正则表达式在线测试

RGB CMYK 转换工具
RGB CMYK 转换工具

RGB CMYK 互转工具