• Not to be ungrateful, but seriously… without the FX plugin, this is JUST ANOTHER slider. I know you were “hoping” to work on it, so the question is: are you working on it?

Viewing 6 replies - 31 through 36 (of 36 total)
  • Plugin Contributor Mottie

    (@mottie)

    How do you have the $in_fxArray and $out_fxArray set up?

    Maybe a better way to set up the effects would be to build the tmpl like this:

    tmpl[ val['element'] ] = {
      val['key'] : val['property'],
      duration   : val['time'],
      easing     : val['easing']
    };

    Also, just from the quick look, there is going to be a trailing comma which will break IE.

    Plugin Author Jacob Dubail

    (@jacobdubail)

    I’ll email you the updated plugin files to you. Might be easier to give you the full context of what’s going on.

    Plugin Contributor Mottie

    (@mottie)

    Well, I’ve “finished” the bookmarklet (still in beta). Check it out and see if you find any bugs. Get some basic instructions here.

    Plugin Author Jacob Dubail

    (@jacobdubail)

    Just back from a weekend out of town. I’ll checkout the bookmarklet shortly and respond to all of your emails asap.

    -Jacob

    Plugin Author Jacob Dubail

    (@jacobdubail)

    Hey everyone,

    I just pushed a new version of the plugin with the first (of many) FX options.

    I started off just supporting Fade for the entire panel. Hope this helps someone out there.

    More to come soon!

    -Jacob

    Plugin Author Jacob Dubail

    (@jacobdubail)

    Hey everyone,

    I just pushed a new version of the plugin with a new action_hook for FX!

    A step back, first. There’s a new shortcode attribute that you may want to use, as well. You can now define an ID to your slideshow in the shortcode using the ‘id’ attribute.

    Ok, ID aside, you can now write custom FX for your slideshow using an action_hook. * this is a stop gap measure until I get the FX options working a little better *

    So, here’s what I’m doing on the backend: I’m basically echoing out the custom FX function that you add to your functions.php:
    – do_action( “add_anything_slider_FX”, $id );
    – do_action( “add_anything_slider_FX_{$id}”, $id );

    Here’s the format that you should follow.
    note You could use either of the add_action declarations. The first is generic and will target all of your slideshows. The second targets slideshow 42 specifically, where 42 is the ID you’ve defined in the id shortcode attribute… make sense?

    add_action( ‘add_anything_slider_FX’, ‘my_fx’ );
    add_action( ‘add_anything_slider_FX_42’, ‘my_fx’ );

    function my_fx($id) {
    	echo "<script>
    			jQuery(function() {
    				jQuery('#slider-{$id}').anythingSliderFx({
    					'.panel img' : [ 'top', '500px', '', 'swing' ]
    				});
    			});
    			</script>";
    }

    I highly recommend copying and pasting this into your functions.php file to use as a starting point. Then, I recommend even more highly that you use Mottie’s FX Builder https://mottie.github.com/AnythingSlider-Fx-Builder/ to define your FX.

    Better documentation coming soon. Hope this helps someone!

    -J

Viewing 6 replies - 31 through 36 (of 36 total)
  • The topic ‘FX, FX, FX, FX, FX, FX, FX!!!’ is closed to new replies.