Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Josh Leuze

    (@jleuze)

    Hi Dan, there isn’t anything built in, but you can certainly do this with using a bit of custom jQuery. You could try adding some custom functions using the “before” and after” cycle options.

    Here is an example where I had a caption that I wanted to slide in as the image faded in:

    before: function () {
    			$j('.meteor-caption').css('left', -600);
    			$j('.meteor-caption').animate({left:140}, 1500);
    		}
    Thread Starter Dan Stramer

    (@danstramer)

    Thanks Josh, will give it a try

    Dan

    Thread Starter Dan Stramer

    (@danstramer)

    Hi Josh
    Should I add this code in the meteor-slideshow.php
    I added the <p> tag with the caption the “meteor-caption” class

    <script type="text/javascript">
    jQuery(document).ready(function($){
    	$.fn.cycle.defaults = {
    before: function () {
    			$j('.meteor-caption').css('left', -600);
    			$j('.meteor-caption').animate({left:140}, 1500);
    		}
    	}
    });
    	</script>
    Plugin Author Josh Leuze

    (@jleuze)

    No, that would go in a custom slideshow script.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘[Plugin: Meteor Slides] paralax effect’ is closed to new replies.