WordPress.org

Forums

Page scroll to id
jQuery Error (1 post)

  1. oliverspies
    Member
    Posted 2 years ago #

    hi,

    i try to make the navigation functionality of a single page website with your plugin.
    i have listed all my pages one below the other and have set the "rel" with the relationship xfn.

    my navigation now looks like this

    <a href="http://mywebsite.com" rel="post-8">Linktitle 1</a>
    <a href="http://mywebsite.com" rel="post-10">Linktitle 2</a>
    <a href="http://mywebsite.com" rel="post-12">Linktitle 3</a>

    when i then click a link the following error appears
    TypeError: $("#" + scrollTarget[1]).offset() is null

    do you have any idea what causes this?

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Page scroll to id
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic