Splash screen with logo in fade in + move up -


I'm actually a newcomer of jquery ... but I'm expecting you to have an impact on my website Can help me

My intention is to have a splash screen with the logo (), in order to look faded, then (2 seconds) the logo up and the rest will be visible to the website.

You can use jQuery's fadeIn () Can method -

After this, you will call fadeOut () or slideUp () to hide the graphic.

  • Try this (minimum) example:

      & lt; Html & gt; & Lt; Top & gt; & Lt; Script src = "http://code.jquery.com/jquery-1.9.1.min.js" & gt; & Lt; / Script & gt; & Lt; / Head & gt; & Lt; Body & gt; & Lt; Div id = "splash" style = "display: none;" & Gt; & Lt; Img src = "http://oi49.tinypic.com/34ss55v.jpg" /> & Lt; / Div & gt; & Lt; Script & gt; // Slowly fade in the image (5 seconds) and then slide it (2 seconds). $ () Ready (function () {$ ("#pllash"). Feedine (5000) .slideUp (2000);}); & Lt; / Script & gt; & Lt; / Body & gt; & Lt; / Html & gt;   

    Hope that helps :)

  • Comments

    Popular posts from this blog

    excel vba - How to delete Solver(SOLVER.XLAM) code -

    github - Teamcity & Git - PR merge builds - anyway to get HEAD commit hash? -

    ios - Replace text in UITextView run slowly -