Support » Fixing WordPress » how to get on scroll text fly in

  • widepool.com

    (@widepoolcom)


    Hi, can anyone please help me with the plugin or suggestion on how do i get the text flying in during on scroll…

Viewing 1 replies (of 1 total)
  • Moderator Andrew Nevins

    (@anevins)

    Forum moderator

    From your description of what you want:
    I guess you hide the text first,
    Then show the text in a “scroll” JS event handler, http://api.jquery.com/scroll/

    E.g.:

    jQuery(document).ready(function($) {
    
     $('.target').css('left', '-9999em');
    
     $(window).scroll(function() {
      $('.target').css('left', '0');
     });
    
    });

    You could increment the ‘left’ value so that it gradually appears in view, then use CSS transitions to animate it.

    If that’s not what you want then you need to describe what you want in more detail, however, I don’t think this is a WordPress issue. jQuery forums can be found here: http://forum.jquery.com/

Viewing 1 replies (of 1 total)
  • The topic ‘how to get on scroll text fly in’ is closed to new replies.