Forums

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

Home Forums CSS Sliding Div’s up on page load/hide on button push

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #45128
    flatternow
    Member

    Hi all, this is something that I think is quite simple to achieve (I hope).

    I have a page which on load I wish to slide one div tag up into position from the bottom of the page filling most of the right. This div will contain further divs, and clickable content. On a button push, I wish this first div to slide back down, and a different div to slide up (again with several divs inside and clickable content). this will remain until a second button is hit, when the second div slides back down and the first slides up again. Here is what I have so far, which only deals with the second div sliding up and down. This works fine, but I want page load to initiate the first animation, and the button push to hide it AND reveal the “inner” div. For arguments sake, the other div I wish to animate is called “folders”. I think i have a rough idea but alas it fails, any help much appreciated.

    with HTML code:

    //content goes in here

Viewing 1 post (of 1 total)
  • The forum ‘CSS’ is closed to new topics and replies.