PG slider tutorial Qs

Below the slider is text.- why? ^.pgia-slider|.pgia-slides-container ^.pgia-slider|.pgia-slides-container ^.pgia-slider|.pgia-slides-container

<div class="pgia-controls">
    <a class="prev pgia-control" href="#" data-scroll-to="prev" data-pg-ia='{"l":[{"name":"ScrollTo","trg":"click","a":{"l":[{"t":"^.pgia-slider|.pgia-slides-container","l":[{"t":"tween","p":0,"d":0.5,"l":{"scrollTo":{"dest":"prev_page"}}}]}]},"pdef":"true"}]}'>&lsaquo;</a>^.pgia-slider|.pgia-slides-container                ^.pgia-slider|.pgia-slides-container                ^.pgia-slider|.pgia-slides-container<a class="next pgia-control" href="#" data-scroll-to="next">&rsaquo;</a>
    <div class="pgia-pagination">
        <a class="pgia-pagination-item" href="#"></a>
    </div>
</div>

Hi @kat,
Which slider is that. I looked at the three in the Interactions tab of the Library and none have that code. It looks like some code has been deleted. Here is what mine looks like:


Cheers,
Bob

I’ve tossed and redownloaded slider-base. I’ll start again. Wish me luck.

Do I apply the following instructions to pgia-controls or a . prev which I am currently on?
But let’s use a trick so that we can work with just this one interaction and apply the same interaction to all .pgia-controls .

Hi @kat,
You should keep working with the existing animation on the .prev element.
Cheers,
Bob

1 Like

Clicking on pagination dots doesn’t work. Help please

Hi @kat,
Everything looks correct from the screen shot. My best guess is that there is a problem with the pagination controls on the main scroll scene. It should look like this:


Hope this helps,
Bob

1 Like

The same except Infinite Scroll wasn’t checked. Neither works.
No Infinite Scroll on pgia-slides-container
{“s”:“whole”,“snap”:“e”,“pag”:“p”,“pag_i”:"^.pgia-slider|.pgia-pagination-item",“pag_clone”:“true”,“pag_pa”:“Current”,“pag_pd”:"-Current",“pag_inf”:“true”}{“s”:“whole”,“snap”:“e”,“pag”:“p”,“pag_i”:"^.pgia-slider|.pgia-pagination-item",“pag_clone”:“true”,“pag_pa”:“Current”,“pag_pd”:"-Current",“pag_inf”:“true”}
________------
pgia-pagination-item
{“l”:[{“name”:“Current”,“trg”:“no”,“a”:{“l”:[{“t”:"",“l”:[{“t”:“tween”,“p”:0,“d”:0.2,“l”:{“scale”:1.5}}]}]}},{“name”:“ScrollToSlide”,“trg”:“click”,“a”:{“l”:[{“t”:"^.pgia-slider|.pgia-pagination-item",“l”:[{“t”:“tween”,“p”:0,“d”:0.5,“l”:{“scrollTo”:{“dest”:“item”}}}]}]},“pdef”:“true”}]}

Hi @kat,
Is your JavaScript turned on?
Can you check if the final project is working as expected?
Bob

Final works fine in browser and in PG.
But in PG there are 4 pagination dots, in browser 3.
My Javascript is turned on and I turned on test clicks.

Maybe I’ll just continue on with the tutorial without the pagination section moving slides and see what happens.