> Is there a way to know if the user is expanding or contracting the > window size even if he changes directions midstream?
Some browsers only fire window.onresize when the user releases the mouse button, so in general it's not possible to track the resizing in real time. Your resize handler could remember the last size and then compare it to the size when the event fires to determine the direction between events. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jQuery Development" group. To post to this group, send email to jquery-dev@googlegroups.com To unsubscribe from this group, send email to jquery-dev+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/jquery-dev?hl=en -~----------~----~----~----~------~----~------~--~---