Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Calling an anchor from external pages

Calling an anchor from external pages 11 Feb 2021 11:07 #59631

Hi.
Please, I want just to be sure I've correctly understood how Scroll To works.
I set an anchor to a h2 title in my page ( www.mysite.it/mypage.html#myanchor )
If I link this anchor from an external page, it seems I don't need to specify the scrollTo class within the <a></a> tag: the Scroll To smoothing works anyway.
It appears as a miracle to me! Did I understand correctly how Scroll To works?
Do you need VirtueMart Documentation? Check VirtueMart Matters

Please Log in or Create an account to join the conversation.

Calling an anchor from external pages 11 Feb 2021 11:39 #59632

  • ced1870
  • ced1870's Avatar
  • Offline
  • Administrateur
  • Administrateur
  • Posts: 24288
  • Karma: 427
  • Thank you received: 3044
Hi
I have updated the behavior, now it scrolls to the anchor if the hastag is set in your url. It does not look for any anchor in the page to do that, it is automatically
CEd
Joomlack Webmaster and Developer

Please Log in or Create an account to join the conversation.

Calling an anchor from external pages 12 Feb 2021 06:21 #59648

Great!
Thank you!
Do you need VirtueMart Documentation? Check VirtueMart Matters

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.174 seconds

Fast and powerful creation, customizable and responsive.

Read More

Qui est en ligne

We have 405 guests and no members online