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

Home Forums JavaScript Pushing Divs down after .Slidetoggle is activated

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #39118

    I am trying to push down the boxes after the .slidetoggle panel is activated. But what happens is that it either goes over or under (depending on z-position) the positioned boxes. I want to it so that when the slidetoggle panel is activated, it will push down all of the boxes. Here is the JSFiddle:

    and here is an example of the type of functionality I am talking about:


    Remove position: absolute; from the .hbox element. Absolute positioning removes the element from the flow of the document, and that is what causes the issue you are having.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.