From 4ea61e888d92bfcb5f72fbeb2ef4bfca6e3846e3 Mon Sep 17 00:00:00 2001 From: Mike Greiling Date: Sun, 16 Nov 2014 04:47:59 -0600 Subject: [PATCH] add documentation to androidFix config option and bump version to 1.2 closes #5 --- README.md | 6 ++++++ parallax.js | 2 +- parallax.min.js | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b7f23be..d8fefd5 100644 --- a/README.md +++ b/README.md @@ -109,6 +109,12 @@ Note that when specifying these options as html data-attributes, you should conv true iOS devices are incompatable with this plugin. If true, this option will set the parallax image as a static, centered background image whenever it detects an iOS user agent. Disable this if you wish to implement your own graceful degradation. + + androidFix + boolean + true + If true, this option will set the parallax image as a static, centered background image whenever it detects an Android user agent. Disable this if you wish to enable the parallax scrolling effect on Android devices. + diff --git a/parallax.js b/parallax.js index e248661..e14a39f 100644 --- a/parallax.js +++ b/parallax.js @@ -1,5 +1,5 @@ /*! - * parallax.js v1.1 (http://pixelcog.github.io/parallax.js/) + * parallax.js v1.2 (http://pixelcog.github.io/parallax.js/) * Copyright (c) 2014 PixelCog, Inc. * Licensed under MIT (https://github.com/pixelcog/parallax.js/blob/master/LICENSE) */ diff --git a/parallax.min.js b/parallax.min.js index 5c47984..01fd941 100644 --- a/parallax.min.js +++ b/parallax.min.js @@ -1,5 +1,5 @@ /*! - * parallax.js v1.1 (http://pixelcog.github.io/parallax.js/) + * parallax.js v1.2 (http://pixelcog.github.io/parallax.js/) * Copyright (c) 2014 PixelCog, Inc. * Licensed under MIT (https://github.com/pixelcog/parallax.js/blob/master/LICENSE) */