Skip to content

TheAbstractDev/TVParallax

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

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 !

About

TvOS Parallax effect in jQuery

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published