Security News
GitHub Removes Malicious Pull Requests Targeting Open Source Repositories
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
endless-river
Advanced tools
A jQuery content scroller!
Endless river is a jQuery plugin, that animates content and make it scroll endlessly!
The usefull feature is that you don't have to set widths to elements, because speed is set in pixel/second!!
EndlessRiver will calculate the best width for the <li> element and keep speed constant!
The only requirement needed is jQuery that you can install it via Bower.
You can download the source files, or install via npm by running
npm i endlessRiver
Simply include the endlessRiver JS and CSS
<html>
<head>
<script type="text/javascript" src="path-to/js/endless-river.min.js"></script>
<link type="text/css" rel="stylesheet" href="path-to/css/endless-river.min.css" />
</head>
</html>
Create an <ul> list like this
<ul id="myUl">
<li> | </li>
<li style="color: red">Espresso</li>
<li style="color: orange">Cappuccino</li>
<li style="color: yellow">American</li>
<li style="color: green">Tea</li>
<li style="color: black">Milk</li>
<li style="color: blue">Juice</li>
<li> | </li>
</ul>
and call it like this!
$(document).ready(function(){
$("#myUl").endlessRiver();
});
Params
option | description | type | default |
---|---|---|---|
speed | Speed of animations in pixel/second | Number | 100 |
pause | Pause on hover: if true, scrolling will stop on mouseover | Boolean | true |
buttons | If true, shows play/stop buttons | Boolean | false |
Check out LICENSE file (MIT)
FAQs
A jQuery content scroller (marquee alternative)!
We found that endless-river demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.