binarymind / jquery-navigate Goto Github PK
View Code? Open in Web Editor NEWAutomatic Ajax Navigation
Automatic Ajax Navigation
Well, I'm using your lib, but I'd like to add a loader, every time I change pages ... how would I do it?
Hello,
When hitting the link I get a blank page and what looks like two entries in history.
My links look like this:
<a href="link" title="title" ajax-content="#item-info" ajax-target="#catalog-content" class="ajax">title</a>
This is my init:
$.navigate.init({
ajaxLinks : 'a.ajax',
});
The script does retrieve the page successfully, but instead of replacing the content in #catalog-content
with content from #item-info
, it tries to go to the page like a normal link, but somehow fails.
When I use the old navigate from: http://www.jquery-css.com/js/navigate.js
it works fine.
Any help would be greately appreciated.
There is a way to back to to the previuos page?
window.history.back() does not work for me.
Thank you for this great plugin!
I get html validation errors for your custom attributes on links, like "ajax-content" and "ajax-target" in a html5 document.
I made a pull request with prepended "data-" for custom attributes: #4
I almost love this plugin, but have one major issue of it ignoring the path. Here's a small snippet of one portion of my urls:
/data/about
/data/community-profile
/data/indicators
/data/indicators/50-more-urls
Let's say I land on data/about
, any link to the other pages drops the data
portion, so data/indicators
becomes indicators
and rightfully gives the 404 page. The items with 3 (or more) all drop off just the first portion, so data/indicators/50-more-urls
becomes indicators/50-ore-urls
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.