Giter Club home page Giter Club logo

jquery-navigate's People

Contributors

binarymind avatar gebeer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

jquery-navigate's Issues

LOADER

Well, I'm using your lib, but I'd like to add a loader, every time I change pages ... how would I do it?

Getting blank page

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.

History back

There is a way to back to to the previuos page?
window.history.back() does not work for me.

HTML Validation Errors

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

Always use full path

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

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.