Don’t know if I’m missing something here. I’d like to run multiple global variables through the same method. See below
$('#pageMain .stuff, #pageMain .postFooter').each(function(){
$(this).vertCenter();
});
But instead using the global variables:
$main, $titles, $footers
So something like…
$($main, $titles, $footers).each(). . .
You’d need to call
eachon each jQuery object:Or, you could do the following: