Calling an anchor from external pages
- ClaudioRomeo
- Offline Topic Author
- Platinum Member
- Posts: 369
- Thanks: 12
Calling an anchor from external pages was created by ClaudioRomeo
Posted 3 years 2 months ago #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?
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
by ClaudioRomeo
Please Log in or Create an account to join the conversation.
Replied by ced1870 on topic Calling an anchor from external pages
Posted 3 years 2 months ago #59632
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
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
by ced1870
Please Log in or Create an account to join the conversation.
- ClaudioRomeo
- Offline Topic Author
- Platinum Member
- Posts: 369
- Thanks: 12
Replied by ClaudioRomeo on topic Calling an anchor from external pages
Posted 3 years 2 months ago #59648
Great!
Thank you!
Thank you!
Counselor for better people in a better company
by ClaudioRomeo
Please Log in or Create an account to join the conversation.
Time to create page: 0.716 seconds