Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //portfolio slider
- jQuery(document).ready(function(){
- jQuery('#slides').slides({
- preload: true,
- preloadImage: 'wp-content/themes/haze/images/nivo-preloader.gif',
- play: 5000,
- pause: 2500,
- effect: 'fade',
- autoHeight: true,
- fade: {
- interval: 1000, // [Number] Interval of fade in milliseconds
- crossfade: true, // [Boolean] TODO: add this feature. Crossfade the slides, great for images, bad for text
- easing: "" // [String] Dependency: jQuery Easing plug-in <http://gsgd.co.uk/sandbox/jquery/easing/>
- },
- effects: {
- navigation: 'fade', // [String] Can be either "slide" or "fade"
- pagination: 'fade' // [String] Can be either "slide" or "fade"
- },
- hoverPause: true
- });
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement