WordPress.org

Ready to get started?Download WordPress

Forums

Vertical scroll recent post
[resolved] Pause scrolling on mouse over (4 posts)

  1. asadujjaman
    Member
    Posted 3 years ago #

    How can I stop scroll when mouse pointer is over? Any change in java script needed?

    http://wordpress.org/extend/plugins/vertical-scroll-recent-post/

  2. alchymyth
    Forum Moderator
    Posted 3 years ago #

    edit vertical-scroll-recent-post.php:

    find:

    <div style="padding-top:8px;padding-bottom:8px;">

    change to:

    <div style="padding-top:8px;padding-bottom:8px;" onMouseOver="clearTimeout(t1);clearTimeout(t2);" onMouseout="vsrp_scroll();">

    edit
    find:

    setTimeout("vsrp_scroll();", 10);

    change to:

    t1 = setTimeout("vsrp_scroll();", 10);

    find:

    setTimeout("vsrp_scroll();", 2000);

    change to:

    t2 = setTimeout("vsrp_scroll();", 2000);
  3. asadujjaman
    Member
    Posted 3 years ago #

    Hey thanks alchymyth. It's working!

  4. missp
    Member
    Posted 3 years ago #

    Would there happen to be an updated version of this (for version 5.0)?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic