Calling an anchor from external pages

More
3 years 9 months ago #59631 by ClaudioRomeo
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?

Counselor for better people in a better company

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

More
3 years 9 months ago #59632 by ced1870
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.

More
3 years 9 months ago #59648 by ClaudioRomeo
Great!
Thank you!

Counselor for better people in a better company

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

Time to create page: 0.218 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 959 guests and no members online