[Resolved] Excerpt Action Hook

Home Forums Support [Resolved] Excerpt Action Hook

Home Forums Support Excerpt Action Hook

Viewing 9 posts - 31 through 39 (of 39 total)
  • Author
    Posts
  • #926185
    David
    Staff
    Customer Support

    Hmmm – back to the drawing board – can you remove the jQuery script.

    #926237
    Andy

    ok disabled jQuery and updated this thread with a new live URL.

    #926266
    David
    Staff
    Customer Support

    So hopefully….. can’t say for infinite scroll but this:

    jQuery( document ).ready( function($) {
        $(document).on('click', '.accordion-toggle', function(event) {
            event.preventDefault();
            $(this).next().slideToggle('fast');
            //Hide the other panels
            $(".accordion-content").not($(this).next()).slideUp('fast');
            //Switch toggle
            $('.accordion-toggle.toggle-open').not(this).removeClass('toggle-open');
            $(this).toggleClass('toggle-open');
        });
    });
    #926273
    Andy

    Working perfectly, thank you so much!.

    Hopefully this will work with any type of ajax style/infinite scroll as I may be using an ajax filter plugin with it’s own infinite scroll.

    Now just to get the star ratings to also show on Infinite scroll loaded posts, although the plugin developer for those is hopefully going to fix it.

    Many thanks again!.

    #926275
    David
    Staff
    Customer Support

    Phew… It should do – the on.(click) event won’t be bothered by content not being loaded before the script is run. Not sure why that didn’t work the first time but so glad we got there.

    #926388
    Andy

    Great, many thanks again.

    On a different note, what did you think of the general site design and layout?. It’s going to be kind of version 2.0 of the current live site.

    #926593
    David
    Staff
    Customer Support

    Really like it – nice sharp design, and the toggles add a bit of fun.

    #926703
    Andy

    Thanks, appreciate the positive feedback.

    #926716
    David
    Staff
    Customer Support

    You’re welcome. Our FB community is full of users welcome to give feedback 🙂

Viewing 9 posts - 31 through 39 (of 39 total)
  • You must be logged in to reply to this topic.