Hello again,
My last question was answered so well that I now have another one...
I have dropdown menus in my website, and when you select an option from that menu, a window moves on screen (from the left side). Now, my question is this, how do I make it so that when a window is onscreen, and the user clicks a different option, the current window (whichever one may be open) moves off screen as the new window is moving onscreen? (It moves off to the right of the screen, while the new one comes onscreen from the left) I have the animation, I am just not sure how to detect if a window is open, and if it is to play the closing animation before the new window opens (or as the new window opens).
I see this often, but I cannot find any reference of the code to do it.
Thanks for the help!
My last question was answered so well that I now have another one...
I have dropdown menus in my website, and when you select an option from that menu, a window moves on screen (from the left side). Now, my question is this, how do I make it so that when a window is onscreen, and the user clicks a different option, the current window (whichever one may be open) moves off screen as the new window is moving onscreen? (It moves off to the right of the screen, while the new one comes onscreen from the left) I have the animation, I am just not sure how to detect if a window is open, and if it is to play the closing animation before the new window opens (or as the new window opens).
I see this often, but I cannot find any reference of the code to do it.
Thanks for the help!