$().height() = CSS Height
$().innerHeight() CSS Height + Padding
$().outerHeight() = CSS Height + Padding + Border
$().outerHeight(true) = CSS Height + Padding + Border + Margin
$("p span") = $("p").find("span") = $("span", "p")
When two margins touch, the larger of the two margins are promoted to the parent. The child's is then cancelled out.
Delta, 1 is up, -1 is down.
$().toggle(fn1, fn2, fn3,...) - Toggle takes multiple functions as arguments. On each click of the matched element, the next function is trigger.
|