Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

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

#92693
Senff
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.