jscroll icon indicating copy to clipboard operation
jscroll copied to clipboard

Global next link?

Open patriked opened this issue 9 years ago • 0 comments

Hello!

I need to create all "next links" at once. Is it possible to do that with current code? My tests suggests it doesn't work.

What I need is the following:

<a href="Link to article 1" class="jscroll-next"></a>
<a href="Link to article 2" class="jscroll-next"></a>
<a href="Link to article 3" class="jscroll-next"></a>
etc.

I need to create eight links before the actual content is loaded so I can scroll down to that place on the page using a navigation menu.

Looking at line 172 in the code: var $next = $(this).find(_options.nextSelector).first();

I'm just thinking of removing the this reference and just use $(_options.nextSelector).first(), but I suspect the deletion code need to be modified as well.

Any tips?

patriked avatar Oct 31 '16 15:10 patriked