Support the ongoing development of →
Eloquent Views Blade
Last updated 1 year ago.

Thanks mate! I'm going to test this out soon enough I hope.


I've just realized the first version of my solution only works for simplePaginate() function. Hiding the .pagination links as a callback prevents the use of autoTriggerUntil at which point the user will need the pagination links to click

My first solution was to check the current page of the pagination links and wrap the .hide() in an if check-

add the new line to your jscroll init autoTriggerUntil: 3 then inside the callback function add

var pagi = $("ul.pagination:visible:first");
(pagi.find("").text() >= 3) ? null : pagi.hide();

or something like that

Last updated 9 years ago.

Hey thanks for the code. I think it will be great once I get it to work. Just trying to figure out line 14: data-url="{{url('link/'.$link->slug)}} not sure what I'm supposed to put in there. Your help would be greatly appreciated. thanks


I have implemented jscroll with laravel pagination and it is working fine. but I am facing another issue with the slideshow. for the posts I am using slideshow. If I click on any item on page a slideshow will open. this is not working from second page onward. for first page it is working.


The javascript doesn't seem to work from the second page onwards. Can anyone help?

@deepakhtsb did you find the solution to your problem?

@QwisoDev Can you suggest something?


Sign in to participate in this thread!


Your banner here too?

QwisoDev qwisodev Joined 19 Nov 2014


We'd like to thank these amazing companies for supporting us

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 - All rights reserved.