Full text population, minus hover flyout

bmyers
Topic Author
Posts: 1
3 years 10 months ago #3436 by bmyers
Hello,

Is it possible for the JJ Social Slider to populate after the user scrolls a % down the page, and, my main question: is it possible for the social slider to not require a hover for the text to fully populate? I'd like it to perform as the scroll popup does on this site: www.rlsolutions.com/home

Keeping animation when someone hovers, but not requiring a hover to populate the full text.

Thanks

Please Log in or Create an account to join the conversation.

Lodder
Lodder's Avatar
Posts: 1180
3 years 10 months ago - 3 years 10 months ago #3437 by Lodder
Replied by Lodder on topic Full text population, minus hover flyout
Hi bmyers,

By default this is not possible, however you can add your own code to support this.

Something to help you get started:
var win = $(window),
   slide = $('.jj_sl_facebook');
win.on('scroll', function () {
    if (win.scrollTop() > 200) {
        slide.trigger('mouseenter');
    } else {
        slide.trigger('mouseenter');
    }
});

if the scroll position is above 200px, trigger a mouseover over the facebook slide, else trigger a mouseout.

Regards,
Lodder
Last edit: 3 years 10 months ago by Lodder.

Please Log in or Create an account to join the conversation.

Powered by Kunena Forum