I changed it up a little. Fun little page. :) http://commadot.com/jquery/animateSwap.php
Hope this is helpful, Glen On Jan 9, 2008 2:00 PM, Benjamin Sterling <[EMAIL PROTECTED]> wrote: > Glen, I would assume it has something to do with offset(), when I remove > the margin and the border they work fine. > > > On 1/9/08, Glen Lipka < [EMAIL PROTECTED]> wrote: > > > > I started work on a demo for this, but It's doing something wrong. > > http://commadot.com/jquery/animateSwap.php > > > > Anyone know why the thing keeps going down the screen? > > > > James, this would be easier if the two elements were positioned absolute > > to begin with. What is their original state? > > > > Glen > > > > > > On Jan 9, 2008 6:32 AM, DXCJames < [EMAIL PROTECTED]> wrote: > > > > > > > > I want to switch the place of 2 divs. One would be located on once > > > side of the screen somewhere and the other far away from it.. I want > > > to be able to click on one of them and have them "hover" or move to > > > switch locations with eachother.. It would be cool to have them switch > > > > > > at the same time, but if thats not possible then I guess I am out of > > > luck.. > > > > > > I am basically asking how todo it at the same time, I am pretty sure I > > > can figure out how to make them just switch spots by moving one over > > > and the other back.. (it would be nice to know if theres a plugin for > > > this or an easy command though =D) hah.. Thanks everyone!! > > > > > > James > > > > > > > > > > -- > Benjamin Sterling > http://www.KenzoMedia.com > http://www.KenzoHosting.com > http://www.benjaminsterling.com