Calling an anchor from external pages
- ClaudioRomeo
- Topic Author
- Offline
- Platinum Member
3 years 10 months ago #59631
by ClaudioRomeo
Counselor for better people in a better company
Calling an anchor from external pages was created 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?
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.
3 years 10 months ago #59632
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic Calling an anchor from external pages
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
Please Log in or Create an account to join the conversation.
- ClaudioRomeo
- Topic Author
- Offline
- Platinum Member
3 years 10 months ago #59648
by ClaudioRomeo
Counselor for better people in a better company
Replied by ClaudioRomeo on topic Calling an anchor from external pages
Great!
Thank you!
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.199 seconds