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 After this, you will call Try this (minimum) example: Hope that helps :) fadeIn () Can
fadeOut () or
slideUp () to hide the graphic.
& 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;
Comments
Post a Comment