I have like 40 foo's on the page, and each one is assigned a left/top value in another function.
$('.foo').css({
top: isOn ? current_top_value_here : 500,
left: isOn ? current_left_value_here : 500
});
so, I want to leave the top & left properties unmodified if isOn is true. How can I do that?
isOn? Javascript variable?