Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- jQuery.fn.jparallax.settings = {
- mouseResponse: true, // Sets mouse response
- mouseActiveOutside: false, // Makes mouse affect layers from outside of the mouseport.
- triggerResponse: true, // Sets trigger response
- triggerExposesEdges: false, // Sets whether the trigger pulls layer edges into view in trying to centre layer content.
- xparallax: true, // Sets directions to move in
- yparallax: true, //
- xorigin: 0.5, // Sets default alignment - only comes into play when travel is not 1
- yorigin: 0.5, //
- xtravel: 1, // Factor by which travel is amplified
- ytravel: 1, //
- takeoverFactor: .65, // Sets rate of decay curve for catching up with target mouse position
- takeoverThresh: 0.002, // Sets the distance within which virtualmouse is considered to be on target, as a multiple of mouseport width.
- frameDuration: 35 // In milliseconds
- };
Add Comment
Please, Sign In to add comment