Home › Forums › CSS › The best way to make some div’s disappear when a specific one appears › Re: The best way to make some div’s disappear when a specific one appears
December 14, 2011 at 6:45 am
#92693
Participant
It all depends on how/where these divs are placed, but in general I would just use jQuery. It’s up to you how you want those divs to disappear (move outside the screen, fade out, slide up, etc), there’s very standard functions for that.
Don’t use visibility on/off, cause then even though they’re not visible, the divs are still taking up the space on the page.