Skip to content

scroll to location links within djax page  #30

@o-l-e

Description

@o-l-e

I am trying to use simple "click link to go to different location on the page" on one of my pages using djax, but it does not seem to work. Looks like there is some conflict.

To show what i want to achieve, here is the markup from one of my pages:

<div class="one-third column" id="middle">

        <a href="#s1">Section 1</a>
        <a href="#s2">Section 2</a>
        <a href="#s3">Section 3</a>

        <h1 id="s1">Header 1</h1>
        <p>Lorem Ipsum</p>

        <h1 id="s2">Header 2</h1>
        <p>Lorem Ipsum</p>

        <h1 id="s3">Header 3</h1>
        <p>Lorem Ipsum</p>

</div>

Is this even possible while using djax?

Thanks for any help, and nice script!

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