Generic settings for maximage demo.
| $(function(){ | |
| $('#maximage').maximage({ | |
| cycleOptions: { | |
| fx: 'fade', | |
| // Speed has to match the speed for CSS transitions | |
| speed: 1000, | |
| timeout: 0, | |
| prev: '#arrow_left', | |
| next: '#arrow_right', | |
| pause: 1 | |
| }, | |
| onFirstImageLoaded: function(){ | |
| jQuery('#cycle-loader').hide(); | |
| jQuery('#maximage').fadeIn('fast'); | |
| }, | |
| // cssBackgroundSize might be causing choppiness in retina display safari | |
| cssBackgroundSize: false | |
| }); | |
| // Helper function to Fill and Center the HTML5 Video | |
| jQuery('#html5video').maximage('maxcover'); | |
| // To show it is dynamic html text | |
| jQuery('.in-slide-content').delay(1200).fadeIn(); | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This comment has been minimized.
ahxiangjb commentedJul 4, 2013
k