WordPress.org

Ready to get started?Download WordPress

Forums

Instapress
Change Fancybox Effect? (4 posts)

  1. chrislowthian
    Member
    Posted 1 year ago #

    Hi,

    I have been looking at the Fancybox options here: http://fancybox.net/home

    I would like to change the Instapress Fancybox so it uses the elastic animation and displays the Title Position Inside.

    I have looked around the Instapress Files but not sure where I need to make the changes? any ideas?

    Thanks in Advance!

    http://wordpress.org/extend/plugins/instapress/

  2. liechtenecker
    Member
    Plugin Author

    Posted 1 year ago #

    Hello Chris

    Fancybox gets initiated in instapress.js in the plugin's root folder (function initFancybox())

    Hope that's what you're searching for :)

  3. chrislowthian
    Member
    Posted 1 year ago #

    Still not sure how to change the effects though?

    Is it this part that needs editing in some way?

    function initFancyBox()
    	{
    		if(jQuery.fancybox)
    		{
    			$('.instagram-image a[rel=instagram-images],.instapress-shortcode a[rel=instagram-sc-images]').fancybox();
    		}
    	}

    I have edited the following file: jquery.fancybox-1.3.4.js and changed the following values:
    titleShow : true,
    titlePosition : 'inside',
    transitionIn : 'elastic',
    transitionOut : 'elastic',

    But that has not made a difference.

    I have also read up on the Fancybox website but their examples are not like your coding.

  4. liechtenecker
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Chris,

    yes, that's the part I meant.
    Can you please post your whole code for that part? That would be very helpful :)

    Thanks

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic