javascript - Fade effect with .hide() .show() in JQuery -
I found a good method to split large posts on Blogger, here in many pages:
I am trying to add a faint effect while changing pages, but I do not know how to do it, when it comes to jquery, I have no experience ...
I So far the page has been managed to scroll back to the top, and adding some animations using the time values But it does not look right. JQuery (document) .ready (function () {jQuery ('. Page1') .JQuery ('. Content2'). ("HTML, body") Click (jQuery (" JQuery ('. Content1'). (1000); jQuery ('.3 content)', hide (1000); jQuery ('. Content4'). ). (1000); jQuery ('.5 content5'). Print (1000);
So what I basically want to do, The "Page" is to be faded ...
Use the code below
Add JavaScript effects below to the fadeIn-fadeOut page .
& lt; script type = "text / javascript" & gt; $ (document) .ready (function () {$ ("body"). FadeIn (800); $ ("A") .No click ("no-fade") (function (event) {event.preventDefault (); link = location = this.href; $ ("body") .Fedaut (400, redirection) Page);}); // Redirect page function redirect page () {window.location = linkLocation;}}); & Lt; / Script & gt;
HTML
page & lt; Head & gt; / Div>
Comments
Post a Comment