Note that there are some explanatory texts on larger screens.

plurals
  1. POexternal links to id anchor not working - using jquery waypoints
    primarykey
    data
    text
    <p>I am having an issue having an external page link to an id anchor on my index page. Every time I try to link to an anchor it just goes to the top of the page. It almost looks like it shows the page at the anchor for a split second but then just the top of the page.</p> <p>You can take a look here .. <a href="http://jointmedias.com/clients/misfit/site/" rel="nofollow">http://jointmedias.com/clients/misfit/site/</a></p> <p>All of the anchors work on the page but again can not link to a specific anchor from an external page. This should work <a href="http://jointmedias.com/clients/misfit/site/#p3" rel="nofollow">http://jointmedias.com/clients/misfit/site/#p3</a> but it dosent.</p> <p>I am using this js script for the smooth scrolling (again it works perfect on the page itself)</p> <pre><code>$(document).ready(function(){ $(window).scroll(function(){ var scrollTop = $("#topsec").height(); if($(window).scrollTop() &gt;= scrollTop){ $('#nav').css({ position : 'fixed', top : '0' }); } if($(window).scrollTop() &lt; scrollTop){ $('#nav').removeAttr('style'); } }) }) $('a[href*=#]:not([href=#])').click(function() { if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'') || location.hostname == this.hostname) { var target = $(this.hash); target = target.length ? target : $('[name=' + this.hash.slice(1) +']'); if (target.length) { $('html,body').animate({ scrollTop: target.offset().top }, 2000,'easeInOutCubic'); return false; } } }); </code></pre> <p>I am too new to JS to know if this has something to do with it or not.. any help would be much appreciated. Thanks for taking a look.</p> <p>Brian</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload