Checking if a div toggle on or off?
Hey people, I'm having some issues with this script - well I say an issue, I just can't really get my head around how to do this!
Basically, I have this code which allows me to toggle the display attribute of two divs when clicking on a specific link as below...
But, I was wondering how I would be able to make the script check if one div is being shown, and if so then hide it before showing the other and vice versa.
Any help given is extremely appreciated and I'd be very grateful!