You can skip entering selector on the settings page and call jQuery script yourself using either .initVerticalCenter or .doVerticalCenter.
.initVerticalCenter method sets up the event listeners to recalculate if the window is resized, while .doVerticalCenter method centers without attaching any events.
My favorite way to use this plugin is to inline style= opacity 0 on the elements that I am centering and then fade them in with something like this.
Or to achieve the same effect with only CSS you can use the vc-complete class that gets added to each target element after the initial centering.
This plugin also adds 'verticalcenter to the window, allowing you to easily trigger the vertical centering manually.
Activate Vertical Center through 'Plugins WordPress...
When the script runs it creates event listeners for the window resize and orientationchange events and recalculates the vertical centering after those events trigger...
jQuery script uses the selector to always grab the fresh from DOM its current state, so as long as the selector matches the newly added element it will get included in the calculation.
You can trigger the vertical centering at any time by triggering the event on the window like this.
Browse the code, check out SVN repository, or subscribe to the development log by RSS...
Read more