So, this is what I thought would work:
Math.max($j.map($j.makeArray($j(".rl_shell")), function(val, i){
$j(val).width();
}));
breakdown:
$j.isArray($j.makeArray($j(".rl_shell")))
returns true
and when I do just
$j.map($j.makeArray($j(".rl_shell")), function(val, i){
$j(val).width();
})
I get an empty array ([]) as a result.
$j(".rl_shell")
returns [div, div]
so, I'm guessing, that I'm using map wrong, but I used the syntax here: http://api.jquery.com/jQuery.map/ so I'm not exactly sure what the deal is.
EDIT:
as per a couple of the answer's suggestions, I've come up with this:
$j.map($j.makeArray($j(".rl_shell")), function(val, i){
return $j(val).width();
});
which returns [0,950]
but when I add Math.max around it, I get NaN =/