Skip to content

Latest commit

 

History

History
31 lines (21 loc) · 630 Bytes

README.md

File metadata and controls

31 lines (21 loc) · 630 Bytes

TVParallax

TvOS Parallax effect in jQuery

Installation

Just drag the parallax.js file on your project directory

Usage

Start by including the javascript (AFTER including jQuery) on your html file.

Add the parallax effect

<div class="element"></div>

<script type="text/javascript">
  parallax($('.element'), 15, false)
</script>

$('.element'))

is the div who takes the parallax effect.

15

is the velocity of the parallax effect (default to 10).

false

is used to enable or not the shine effect (default to true)

Checkout the Example to see a demo

Enjoy !