Hi everyone! I'm trying to replicate the slide animation from jQuery UI's hide function in plain jQuery. I want the flexibility to slide a div in any direction, regardless of its positioning or CSS. Using
$('#somediv').animate({ width: 'hide' })
gives odd overflow issues and limits the hide/show directions. How does jQuery UI achieve this magic, and is there a way to do it in plain jQuery?