PaulSpr/jQuery-Flex-Vertical-Center — pull request #4 by thinkswan (2013-06-29 22:33:52+00:00)
Title: Added verticalOffset and parentSelector options to your jQuery-Flex-Vertical-Center plugin

Hello!

I'm using your plugin on a project of mine, but I required 2 new options, so I added them and thought you might want to include them in the plugin.

1. verticalOffset - the element I was centering was in a container with a floating navbar, so I had to add a vertical offset to center the element in the space **not** covered by the navbar (default: 0)

2. parentSelector - the element needs to be centered within a higher parent container (not the immediate parent), so I added a selector option that will find the specified selector and use the height of that element (default: immediate parent)

Cheers!

Graham