Created
January 28, 2017 14:03
-
-
Save nfriend21/940a31ae6e47781e9aed52227a25e060 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <script> | |
| function loadCollagePlusOverrides() { | |
| $('.Collage').each(function() { | |
| var collage = $(this); | |
| // this allows you to change the loading effect of the images as they appear on the screen. | |
| // default value is "effect-2". Possible options are "effect-1", "effect-2", "effect-3". | |
| //// collage.attr("data-effect", "effect-2") | |
| // this is an approximation, but allows you to change the sizes of the images. | |
| // keep in mind, the nature of a collage layout will not give you perfect control over sizing. | |
| // default value is "450". | |
| // collage.attr("data-target-height", "100") | |
| // this allows you to change the speed that the images appear on the screen. | |
| // default value is "fast". Possible options are "fast", "slow". | |
| //// collage.attr("data-fade-speed", "fast") | |
| }); | |
| } | |
| </script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment