Support the ongoing development of Laravel.io →
Eloquent Views Blade
Last updated 2 years ago.
0

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

0

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("li.active").text() >= 3) ? null : pagi.hide();

or something like that

Last updated 9 years ago.
0

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

0

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.

0

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?

0

Sign in to participate in this thread!

Eventy

Your banner here too?

QwisoDev qwisodev Joined 19 Nov 2014

Moderators

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

Your logo here?

Laravel.io

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

© 2024 Laravel.io - All rights reserved.