Skip to content

Latest commit

 

History

History
46 lines (35 loc) · 2.14 KB

README.md

File metadata and controls

46 lines (35 loc) · 2.14 KB

Vertical News Slider

A jQuery and CSS-based slider module that displays news headlines on the left along with a preview image and brief description on the right. The "current" item is highlighted and switches automatically at intervals.

View a demo here

Installation

To install, just include the CSS file along with jQuery and the vertical.news.slider.js or vertical.news.slider.min.js file:

<head>
  ...
  <link rel="stylesheet" href="css/vertical.news.slider.css">
</head>
<body>
  ...
  <script src="https://code.jquery.com/jquery-1.12.4.min.js"></script>
  <script src="js/vertical.news.slider.min.js"></script>
</body>

It should work with any version of jQuery from 1.8 and up.

Customizations

The expanded JavaScript file has lots of comments in it to indicate what everything does, so you can fiddle around with those if you want to change anything (e.g. the speed of the auto-changing or maybe you don't like that it stops auto-changing when the user hovers over the content part).

MIT License

MIT License

Copyright © 2013 by Louis Lazaris

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.