Link to home
Start Free TrialLog in
Avatar of roger v
roger vFlag for United States of America

asked on

Bootstrap v2.3.1 slide up and down panel -- how to

Hi experts,

I'd like to build a slide down/slide up panel that would be located at the top of the webpage. When page loads, the panel, with some text in it would slide down. There would be a js timer for 5 secs, then the panel would slide back up. There would have to be a 'X' close button that needs to close the panel. I need this in bootstrap v 2.3, since that is the version in our code. I've seen SO articles detailing this functionality with jquery UI and such, but I didn't see any pure bootstrap v2.3 panel. Is this possible?
Avatar of Member_2_6317024
Member_2_6317024
Flag of United States of America image

It appears this could be done with bootstrap-transition.js
http://getbootstrap.com/2.3.2/javascript.html

If you follow the code example in the modal below the transitions area you can set a timer in your js code to hide(transition/fade) the panel or modal back up when you hit the x or when the time has reached 5 seconds.
Avatar of roger v

ASKER

@Jessica,

But wouldn't the modal grey out the rest of the page? I need a panel/banner at the top of page, that loads along with the rest of the page, and then after x seconds, slides up, and also has a close (X) button.
ASKER CERTIFIED SOLUTION
Avatar of Member_2_6317024
Member_2_6317024
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of roger v

ASKER

Thanks
You're Welcome!