Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Dec 08 2018 11:03

    fieg on 3.x

    upgrade cypress + setup recordi… (compare)

  • Dec 04 2018 21:47

    fieg on 3.x

    minor tweaks in docs (compare)

  • Dec 04 2018 20:30

    fieg on 3.x

    fix tests (compare)

  • Dec 04 2018 20:12

    fieg on 3.x

    added paging logic (compare)

  • Nov 30 2018 16:18

    fieg on 3.x

    removed "new" from loggers fix object-shorthand (compare)

  • Nov 30 2018 16:12

    fieg on 3.x

    document last event added watch and link scripts setup logger and 1 more (compare)

  • Nov 30 2018 14:08

    fieg on 3.x

    attempt to get the right struct… (compare)

  • Nov 30 2018 14:00

    fieg on 3.x

    tweaked documentation (compare)

  • Nov 30 2018 13:47

    fieg on 3.x

    tweaked documentation headers (compare)

  • Nov 30 2018 13:43

    fieg on 3.x

    setup gitbook config (compare)

  • Nov 29 2018 21:05

    fieg on 3.x

    renamed page1.html to index.html set correct version (compare)

  • Nov 29 2018 20:49

    fieg on 3.x

    minor tweaks added Makefile (compare)

  • Nov 27 2018 21:36

    fieg on 3.x

    added articles example (compare)

  • Nov 24 2018 17:06

    fieg on 3.x

    fix build command on travis (compare)

  • Nov 24 2018 17:00

    fieg on 3.x

    added docs (compare)

  • Nov 23 2018 22:21

    fieg on 3.x

    removed dist files ignore dist reorganised package.json and ad… and 1 more (compare)

  • Nov 20 2018 21:31

    fieg on 3.x

    minor tweaks (compare)

  • Nov 20 2018 20:46

    fieg on 2.x

    (compare)

  • Nov 18 2018 18:25

    fieg on 3.x

    increase wait time (compare)

  • Nov 18 2018 13:14

    fieg on 3.x

    cs fixes (compare)

steviecodemuncher
@steviecodemuncher
With the link : <a onclick="$.ias('next')" id="my_next_link">
Oh!
Sorry if I've added to the confusion , it's been one of those days!
Right, the iframe is back up, but the 'See more deals' link isnt working.
Jeroen Fiege
@fieg
k, I see what you mean
Jeroen Fiege
@fieg
let me think about a solution...
steviecodemuncher
@steviecodemuncher
Thank you!
Jeroen Fiege
@fieg
Ok, try this
<script type="text/javascript">
      var ias = $.ias({
        container: "#content",
        item: ".pContainer",
        pagination: "#pagination",
        next: ".next",
      });

      var triggerExt = new IASTriggerExtension({html: ''});

      ias.extension(new IASSpinnerExtension());
      ias.extension(triggerExt);
      ias.on('noneLeft', function() { $('#my_next_link').remove(); });
    </script>
With this link:
<a onclick="triggerExt.next();" id="my_next_link"></a>
steviecodemuncher
@steviecodemuncher
It works! Thank you very much for all your time! Have a good weekend
Jeroen Fiege
@fieg
Glad I could help. Have a nice weekend!
steviecodemuncher
@steviecodemuncher
Cheers!
steviecodemuncher
@steviecodemuncher
Hey Jeroen, I hope you had a good weekend.
Apologies, but after looking at our site again today another issue came to light with the code. Those pages which return less then 10 products still have the 'load more deals' link showing - although this not clickable. Any thoughts on how we can sort this please? Here's an example: https://icomparebroadband.co.uk/network-providers/ee-broadband/
Thanks is advance!
Jeroen Fiege
@fieg
Hi @steviecodemuncher, thanks for reporting. I see the noneLeft event isn't triggered when there isn't a second page. I will try to make a fix this evening.
steviecodemuncher
@steviecodemuncher
Ah I see! Great, thank you!!!
Jeroen Fiege
@fieg
I found a fix: webcreate/infinite-ajax-scroll#310. Now waiting for tests to pass. Will release soon after.
steviecodemuncher
@steviecodemuncher
Looking forward to the update, will this be today? Thank you for you support once again!
Jeroen Fiege
@fieg
I ran into an issue last evening, but in the end fixed it. Will try to release this evening.
steviecodemuncher
@steviecodemuncher
Cheers!
Jeroen Fiege
@fieg
New release available: https://infiniteajaxscroll.com/download.html. Let me know if this fixes the problem
steviecodemuncher
@steviecodemuncher

Hi Jeroen, I have just uploaded v2.3.1 but unfortunately the issue persists. Do I need to change anything in the <script> ? At the moment this still includes: var triggerExt = new IASTriggerExtension({html: ''});

ias.extension(new IASSpinnerExtension());
ias.extension(triggerExt);
ias.on('noneLeft', function() { $('#my_next_link').remove(); });

Jeroen Fiege
@fieg
No need to change anything yes
There is a syntax error in jquery-ias.min.js... I guess something went wrong with uploading
Can you try to update the script again
steviecodemuncher
@steviecodemuncher
Sorry mate yes I'll try it again. For some reason the latest version of Chrome has got issues with copy&paste at the moment.
Jeroen Fiege
@fieg
You need to click the download button from here: https://infiniteajaxscroll.com/download.html
then copy and paste te file in your project
steviecodemuncher
@steviecodemuncher
Great thanks it's working!
Jeroen Fiege
@fieg
Nice :thumbsup:
steviecodemuncher
@steviecodemuncher
Hi Jeroen, sorry to bother you again, hope all's well. I have come across an issue which I hope you can help me with. When using the drop-down 'sort-by' menu on our site, the results are initially sorted correctly - the script looks through the returned pages and returns the correct results in that order. However, when you click on the IAS's 'load more' button the results loaded are not sorted in the chosen way. Any thoughts on how we can resolve this to get results loaded in the pre-determined way? Massive thanks in advance!
Jeroen Fiege
@fieg
You can try to call reinitialize in the onchange method of the dropdown
steviecodemuncher
@steviecodemuncher
Thanks! I've tried by including it in the following, but can't get it to work? <select name="sort" id="sort" onchange="window.location='url with dynamic search string working' + this.value; + jQuery.ias().reinitialize();">
steviecodemuncher
@steviecodemuncher
The above is the onchange method...is this the wrong approach?
Jeroen Fiege
@fieg
Hm, I see it changes the location which means IAS should be reloaded and a reinitialize should not be needed
steviecodemuncher
@steviecodemuncher
I wonder why this is happening, any suggestions for a fix please mate?
steviecodemuncher
@steviecodemuncher
Hi Jeroen, what do you think is the cause for the failure to sort all the pages by the onchange / IAS partnership?
Jeroen Fiege
@fieg
Hi Stevie, I'm not sure. But if you make sure that the page in the iframe is reloaded and the next link contains the nessary parameters for the current sorting, it should work.
Krieg93
@Krieg93
Hi, I'm getting tiredless nights trying to make IAS loads the most recent post and then continue with next and previous of the most recent post... i'm making a site in wordpress... anyone has a hint or something?
Jeroen Fiege
@fieg
Hi @Krieg93, have you looked at the history example yet: http://infiniteajaxscroll.com/examples/history.html ? It has the functionality you describe.
Krieg93
@Krieg93
@fieg Hi Jeroen, Yes I already did... I need that the next post (in single.php, independent from what post you first open), jumps to the first post (the most recent one on the site), then continue pagination back and next from the most recent to the most oldest... I couldn't configure it to work like that.
@fieg Thanks for answering!
Jeroen Fiege
@fieg
I don't quite understand what you mean, but if you have a fully server-side working next and prev link, it should work...
moonway
@moonwaystudio
hi creator ,how to use ias the latest version to make a web effect like this web https://imac.hk/category/tools/system/ , info load some times then pagination show, back end i use thinkphp 5.0,pagination is created by thinkphp,how do i use your plugin to make that effect true?
@fieg
moonway
@moonwaystudio
um i have found v2,so i‘ve used it,but how to make that effect ture?
@fieg