Skip to content

Instantly share code, notes, and snippets.

@abennouna
Last active December 17, 2015 02:59
Show Gist options
  • Save abennouna/5540181 to your computer and use it in GitHub Desktop.
Save abennouna/5540181 to your computer and use it in GitHub Desktop.
Le Lab by tellibus : enscroll - http://tellibus.com/lab/enscroll
<div id="DivToScroll" style="height:300px;width:600px">
<!-- Il faut que le contenu de ce div soit relativement large et/ou haut pour le faire défiler -->
<div style="height:1000px;width:2000px"></div>
</div>
<script src="jquery.min.js"></script>
<script src="enscroll.pack.js"></script>
<script>
$(function($) {
$("#DivToScroll").enscroll({
verticalScrolling: true,
horizontalScrolling: true,
RTLdirection: true // Option ajoutée par rapport à la version officielle
});
});
</script>
@abennouna
Copy link
Author

La page officielle du fork se trouve sur http://tellibus.com/lab/enscroll

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment