[jQuery] Re: detecting edge cases when swapping divs

2009-12-14 Thread Abbey
@Robert The code didn't work for me. @Charlie I tried length=0 and length=1 and the pane always goes past the footer div. $(".pane .arrowdown").click(function() { if($(this).next().length==1) { // charlie: will return true if at bottom, would have to test after the animation, or use length==1

[jQuery] detecting edge cases when swapping divs

2009-12-11 Thread Abbey
iv? The header will always be the first div inside the body, the footer will always be the last div inside the body. Thanks for any help! I'm just stuck trying to detect these edge divs. ~Abbey