Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • ubelmort Friend
    #177708

    Where can I set the scroll speed of the popup window, I’m searched all the JS files but not really coming up with anything. As of right now, the scrolling is to slow for the popup window and I need to make it faster, otherwise this will just be a frustration for users to scroll through comments.

    John Wesley Brett Moderator
    #455559

    In what device or platform are you referring – desktop, tablet, smartphone?

    ubelmort Friend
    #455640

    <em>@jwbrett 322972 wrote:</em><blockquote>In what device or platform are you referring too – desktop, tablet, smartphone?</blockquote>

    For the desktop

    John Wesley Brett Moderator
    #455647

    Here’s your hack!

    GOTO: templates/ja_wall/plugins/jquery.mousewheel.jsline 61
    And change from this:

    // Old school scrollwheel delta if ( orgEvent.wheelDelta ) { delta = orgEvent.wheelDelta/120; }
    if ( orgEvent.detail ) { delta = -orgEvent.detail/3; }

    To this:

    // Old school scrollwheel delta if ( orgEvent.wheelDelta ) { delta = orgEvent.wheelDelta/120; }
    if ( orgEvent.detail ) { delta = -orgEvent.detail/1; }

    That should speed it up to what you are used to.
    Have fun!
    John.

    ubelmort Friend
    #455686

    <em>@jwbrett 323088 wrote:</em><blockquote>Here’s your hack!

    GOTO: templates/ja_wall/plugins/jquery.mousewheel.jsline 61
    And change from this:

    // Old school scrollwheel delta if ( orgEvent.wheelDelta ) { delta = orgEvent.wheelDelta/120; }
    if ( orgEvent.detail ) { delta = -orgEvent.detail/3; }

    To this:

    // Old school scrollwheel delta if ( orgEvent.wheelDelta ) { delta = orgEvent.wheelDelta/120; }
    if ( orgEvent.detail ) { delta = -orgEvent.detail/1; }

    That should speed it up to what you are used to.
    Have fun!
    John.</blockquote>

    Thank you John, no hard feelings about earlier, just a bit frustrated with a lot.

    I will give this a try after this weekend when I get back from my mini vaca

    Wall Crasher Developer
    #455779

    Hi,
    @jwbrett
    Thank you very much.
    @ubelmort
    You can also try this.
    templatesja_wallpluginsiscrolliscroll.js
    line 704

    wheelDeltaX = wheelDeltaY = e * 30;

    and line 714

    wheelDeltaX = wheelDeltaY = jwhich * 30;

    Regards

Viewing 6 posts - 1 through 6 (of 6 total)

This topic contains 6 replies, has 3 voices, and was last updated by  Wall Crasher 12 years, 5 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum