yorsite — 2011-12-05T14:07:02-05:00 — #1
Can someone tell me how the site nasty girl . com created the code for their slide in newsletter signup form? I just need the slide in effect with the close button for a message. Form info is not needed.
system — 2011-12-05T16:47:24-05:00 — #2
One way of doing it is to use css positioning to first place the sliding div outside of its container and then use setInterval() and/or setTimeout() to gradually change the top, left, bottom, right styles (depending on the direction of the sliding) to create the sliding animation.