Image parallax plugin
- Smoothly animated parallax effect for images while scrolling.
- jQuery 1.11.3 or greater
<div class="image-parallax" style="height: 560px;">
<div class="image-parallax--image" style="background-image: url('//lorempixel.com/600/600/food/');"></div>
</div>
<link rel="stylesheet" href="styles/styles.css" type="text/css">
<script src="src/iptools-jquery-imageparallax.js"></script>
<script type="text/javascript">
(function($, document, window) {
$('.image-parallax--image').iptImageParallax({});
})(jQuery, document, window);
</script>npm ibower i
- File all your issues, feature requests here
- If filing a bug report, follow the convention of Steps to reproduce / What happens? / What should happen?
- If you're a developer, write a failing test instead of a bug report and send a Pull Request
- Fork it ( https://github.com/[my-github-username]/iptools-jquery-imageparallax )
- Create your feature branch (
git checkout -b my-new-feature) - Develop your feature by concepts of TDD, see Tips
- Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create a new Pull Request
Following tasks are there to help with development:
grunt watch:bddlistens to tests and source, reruns testsgrunt qarun QA task that includes tests and JSHintgrunt buildminify source to dist/
Copyright © 2015 Interactive Pioneers GmbH. Licenced under GPLv3.