I am trying to build a window that pops out of the side of the browser window for 10 sec or so and then slides back into the browser window. Then with a little tab sticking out, if one clicks on the tab it will slide back out. Can anyone help? Here is what I have so far.
First of all you're going to want your slider to be hidden, so I'd do that first. As to it coming out, you'll want it to basically slide out as soon as the DOM is ready. And to get it to go in after ten seconds, I don't know the specific code, but there should be an easy timer function available.
I am trying to build a window that pops out of the side of the browser window for 10 sec or so and then slides back into the browser window. Then with a little tab sticking out, if one clicks on the tab it will slide back out. Can anyone help? Here is what I have so far.
http://codepen.io/jbatzel1/pen/IlqBa
As to it coming out, you'll want it to basically slide out as soon as the DOM is ready.
And to get it to go in after ten seconds, I don't know the specific code, but there should be an easy timer function available.
http://codepen.io/jbatzel1/pen/Kuyig