Skip to content

Bind unique links or something? #35

@CyrilKrylatov

Description

@CyrilKrylatov

Hello Beezee,

First of all, thank you a lot for this lil' plugin.

Secondly, I have an issue with it.

Indeed, I'd like to say to djax to only bind (then change via ajax method) only links on a DOM elements.

Let me clear this out if that's not (French guy, poor english here) :

I have:

<div class="menu">
<a class="menu__item menu--homepage" href="{URL homepage Site}">Go back to the homepage</a>
<ul class="menu__item">
<li><a href="{URL Portfolio}">Portfolio me</a></li>
<li><a href="{URL Contact}">Contact me</a></li>
</ul>
</div>

How can I say to djax to only bind the links from ul.menu__item but NOT a.menu--homepage ? Because I have an other template for my homepage and I don't want it to be loaded via djax.

Oh and I'm working with WordPress here.

Thank you for your concern.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions