Padding as array #177

Closed
wants to merge 2 commits into
from

Conversation

Projects
None yet
3 participants

KillerX commented Mar 7, 2012

In issue #93 there was a request for paddingLeft, paddingRight...
I have added the possibility to provide padding in an array the same way you can do it with margin already now.
Syntax: padding: [ top, right, bottom, left ]
Ex:

$(document).ready(function() {
    $(".fancybox-thumb").fancybox({
        padding: [20, 200, 20, 20]
    });
});
Owner

fancyapps commented Jul 19, 2012

I`m closing this pull reguest as it has been implemented differently

@fancyapps fancyapps closed this Jul 19, 2012

In which version is it available? You mentioned it was implemented differently, is the syntax still padding: [ top, right, bottom, left ] ?

Owner

fancyapps commented Aug 8, 2012

You can get the latest from GitHub - https://github.com/fancyapps/fancyBox/zipball/master

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment