• Resolved marcelosanches

    (@marcelosanches)


    Hello there,
    I am trying to set an icon/button to scroll down to another point at the same page.
    However, when I click the icon, the page jumps to it’s destination instead of scrolling.

    The page i’m using is: agencianux.com and I’m trying to scroll to the id #sobrenux

    I know that the scrolling does work because if I load the page at agencianux.com/#sobrenux it scrolls down just fine.

    Thank you!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author malihu

    (@malihu)

    Hello,

    You need to enable the plugin on your icon link. You can do this in more than one ways, so choose the one you find easier:

    1. Give your link the class ps2id
    2. Give your link a rel attribute with value m_PageScroll2id
    3. Add your link selector in ‘Selector(s)’ field in plugin settings
    • For example, if you want to let ‘Page scroll to id’ handle all links that have a hash (#) in their URL, change the ‘Selector(s)’ field value to: a[href*='#']
    • This reply was modified 8 years, 6 months ago by malihu.
    Thread Starter marcelosanches

    (@marcelosanches)

    Hello Malihu,

    Thanks for your fast responde to my issue.
    As I don’t know how to do the options 1 or 2, I tried the 3rd option and it worked just fine.

    Thank you very much.

    Plugin Author malihu

    (@malihu)

    You’re welcome ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Can Hyperlink use scrolling too?’ is closed to new replies.