jquery - How to do a custom transition using Javascript -


That's why I made the general layout psd have been developed from scratch on this site (first time ever) and I made Everything is great, so I am at this point where I want to refine the site with some javascript effects.

When I'm on the index page, you have to press a banner, sidebar and content (articles) articles when I articles (obviously), but I 0 such a custom loading page: 22 I want to make:

I have to make or find a GIF, I have done this, how do I add this site?

Articles are all in one category, though I think I will have to use the ID for each particular article so that the related article.

Edit: Pop it into a file and add a reference to each page links on it:

  function loadXMLDoc (name) {var xmlhttp = new XMLHttpRequest (); Xmlhttp.addEventListener ("load", transfer complete, incorrect); Xmlhttp.open ("GET", name, true); Document.getElementById ("Loading"). Style.display = "block"; Xmlhttp.send (); Function transfer () {document.write (xmlhttp.responseText); History.replaceState (empty, empty, name); }} Function ajaxcallback (e) {var e = window.e || E Var href = e.target.getAttribute ("href"); If (e.target.tagName! == 'A' || href [0] == "#" || href.substring (0, 11) .toUpperCase () == "Jwakshr:" || e.target. Class == "noloadpage") return; E.preventDefault (); LoadXMLDoc (href); } If (document.addEventListener) document.addEventListener ('click', ajaxcallback, incorrect); And documentation .attachEvent ('onclick', ajaxcallback);  

And to show something when the next page is loading (be sure to add the id "Loading" like this):

  

This is not an anchor (# Aaidi) or function that makes each link (JavaScript which is not too) and load "Noolodoad" class with Ajeaks and Loading of div while loading.


Comments

Popular posts from this blog

c# - SignalR: "Protocol error: Unknown transport." when navigating to hub -

class - Kivy: how to instantiate a dynamic classes in python -

python - mayavi mapping a discrete colorbar on a surface -