javascript - Slide div when page loads -


I need to create a function that will raise the sliding device from left to page when the page loads. It requires about 5 seconds of animation delay. Example can be seen on this link

There is a section with the share under the title, to make that function Required to slide items which are summarized for all numbers. It is located on the right side with gray background.

Hey, I'm not a CSS expert, but the site is what people are making a little bit more than CSS. So I made this JSField. It can help you. I'm not sure that they are working in all browsers till now. You can use jQuery as the backbars for browsers which do not support CSS3 Transition I have the code used:

  div {width: 100px; Height: 100px; Background: Red; Transit-property: margin-left; Transition period: 2s; Webkit-Infection Property: Margin-left; / * Safari * / -bbkit-transition period: 2s; / * Safari * / Margin-left: -100px; } Div.active {margin-left: 0 pixels; } Code is: jquery code:  
  $ (function () {$ (". Mydiv"). AddClass ("active"); console log ( $ (".mydiv"));});   



Comments

Popular posts from this blog

Pass DB Connection parameters to a Kettle a.k.a PDI table Input step dynamically from Excel -

multithreading - PhantomJS-Node in a for Loop -

c++ - MATLAB .m file to .mex file using Matlab Compiler -