Guest User

Untitled

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