jQuery to animate between two divs.

Robert Granlund
Robert Granlund used Ask the Experts™
on
jQuery Animation.  Is there a way to slide divs across each other  and fade one out on Toggle?  Meaning, I have a Div One and Div Two.  One is visible, the other is not.  Click the visible div, it slides right and fades out as the second div slides left and becomes invisible.  Click the visible div now and the reverse happens.

Any place to start will be helpful
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Sam JacobsDirector of Technology Development, IPM

Commented:
How about something like the attached to get you started?
slide.html

Author

Commented:
@sam, that is pretty much what I was talking about.  Is there a way for them to meet and fade in the middle?
Director of Technology Development, IPM
Commented:
I made a slight adjustment ... this one seems to work better ...
slidev2.html

Author

Commented:
This was a great help.  I was a little more complicated for me, but it all worked.  Thanks!
Sam JacobsDirector of Technology Development, IPM

Commented:
Sure thing.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial