WordPress.org

Support

Support » Themes and Templates » Slow scroll feature

Slow scroll feature

  • Has anyone got this option to work? It doesn’t give me a slow scroll to an anchor. The only slow scroll I’ve got is on the built-in “Back to top” link in the footer — and that gives a slow scroll whether the feature is enabled or not.

Viewing 10 replies - 1 through 10 (of 10 total)
  • d4z_c0nf
    Participant

    @d4z_c0nf

    Works fine here.
    Any other problems with javascript?

    To be honest, I don’t have a clue what is driven by javascript and what isn’t. But slow scroll does work on “Back to top”, as it always has done for me, so maybe that means that my javascript is working ok?

    I’m not conscious of any other malfunctions — and anyway when I do see a problem I tend to blame myself rather than my lovely tools.

    In case it makes a difference, my site is locally hosted on a Mac — and, as it happens, I downloaded a Java update today (if that is what drives javascripts) but it hasn’t given me slow scrolls.

    d4z_c0nf
    Participant

    @d4z_c0nf

    Yeah that Back to top works fine there, so you don’t have problems with javascript for it 😀
    Look at your source page, near the bottom can you see this?

    var TCParams = {"FancyBoxState":"1","FancyBoxAutoscale":"1","SliderName":"","SliderDelay":"","SliderHover":"1","SmoothScroll":"easeOutExpo","ReorderBlocks":"1","HasComments":"","LeftSidebarClass":".span3.left.tc-sidebar","RightSidebarClass":".span3.right.tc-sidebar"};

    Or something of the sort? The relevant part in your case is: “SmoothScroll”:”easeOutExpo”

    If also this is fine, could you tell me how do you “build” a link to an anchor?

    Yup, this is from my source code:

    <script type='text/javascript'>
    /* <![CDATA[ */
    var TCParams = {"FancyBoxState":"1","FancyBoxAutoscale":"","SliderName":"testimonial","SliderDelay":"5000","SliderHover":"1","SmoothScroll":"easeOutExpo","ReorderBlocks":"","HasComments":"","LeftSidebarClass":".span3.left.tc-sidebar","RightSidebarClass":".span3.right.tc-sidebar"};
    /* ]]> */
    </script>

    As for building the anchors, I use the Add Anchor button in the virtual editor to position and name the anchor, eg `#reviewform; then I add the anchor name as the link using the Insert/Edit Link button and this gives me this HTML:
    Please spare a moment to fill out the</em></span> <a href="#reviewform">short review form below</a>. <span style="font-size: 14px; color: #808080;"><em>We won't publish your name unless you give us specific permission to do so at the end of your review. Your contact information won't be published under any circumstances – and none of your data will ever be passed to third parties. Thank you.</em></span>

    d4z_c0nf
    Participant

    @d4z_c0nf

    This is weird, the smooth scroll shoud be applied. 🙁

    Not happening in Safari, Chrome or Firefox… Maybe I need to reinstall Customizr – but I’m happy with everything else so I’ll probably just do without slow scroll.

    Theme Author nikeo
    Participant

    @nikeo

    Hi @chappie, on which browser (and version) does it happen ?
    Thanks

    Hi boss – so far I’ve tested on the Mac versions of:

    Safari 6.0.2
    Firefox 28.0
    Chrome 34.0.1847.116

    d4z_c0nf
    Participant

    @d4z_c0nf

    So the smooth scroll (except for “Back to top” which uses almost the same logic*) doesn’t work with those browsers on mac?

    *
    maybe that “almost” is the problem

    @d4z_c0nf – just to be clear, it doesn’t work for me. I haven’t seen anyone else report this problem. Otherwise, yes, that is correct.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Slow scroll feature’ is closed to new replies.