Giter Site home page Giter Site logo

onigetoc / zajax-wordpress-ajax-navigation Goto Github PK

View Code? Open in Web Editor NEW
2.0 3.0 1.0 517 KB

Zajax is a WordPress plugin who add ajax navigation to your WordPress website. It will work with search, All form will work, like comments, it will understand links with # hash and external links or admin links.

CSS 9.76% JavaScript 29.70% HTML 15.05% PHP 45.49%

zajax-wordpress-ajax-navigation's Issues

Wordpress 5.6 Compatibility

Hello, I am trying to use this on the new WordPress update but it is broken as WordPress has updated their jQuery version.
Will this plugin be updated for jQuery 3?

Body class

Hi Onigetoc, and thank you for Zajax. I know you're not updating it anymore, but i will really appreciate if you could help me here.
I've been searching for 5 days, but can not find a answer. I don't know nothing of Ajax, and i'm really lost.

Zajax is working fine, i used it with a music player as in http://podzic.com/, but my issue is, the body classes won't change after ajax loading only the main content.
Is it a pro feature? Or can you help me figure this out?
I find another pluginbut it's slow and ugly loading, i found Zajax so much better.

i know it as something to do with calling that after the ajax load
jQuery("body").removeClass().addClass(classes);

but i can't find where to put it in zajax.js.

I noted that the does reload with the class="nprogress-busy" so i try to get around the code

c.render = function (a) {
if (c.isRendered()) return document.getElementById("nprogress");
t(document.documentElement, "nprogress-busy");
var b = document.createElement("div");
b.id = "nprogress";
b.innerHTML = f.template;
var e = b.querySelector(f.barSelector),
q = a ? "-100" : 100 * (-1 + (c.status || 0));
a = document.querySelector(f.parent);
n(e, { transition: "all 0 linear", transform: "translate3d(" + q + "%,0,0)" });
f.showSpinner || ((e = b.querySelector(f.spinnerSelector)) && e && e.parentNode && e.parentNode.removeChild(e));
a != document.body && t(a, "nprogress-custom-parent");
a.appendChild(b);
return b;
};

I will really appreciate an answer, thank you for the plugin anyway.
Joseph

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.