Hi all,
I'm using aem 6.5, when i author a anchor link set with opening in new tab in RTE component its working fine and navigating to the specifed section in the new tab in view as published mode but when i click the same anchor link in published page its only opening the page in new tab but not navigating to the specfic section. Can anyone give some solution for this issue please.
Thanks
Nandheswara
Views
Replies
Total Likes
Hello @Nandheswara
The Anchor links are the HTML behavior. Please verify following:
1. The Anchor "#<id>" and id of the element are configured and available in HTML.
2. You are not getting any java script errors in browser console.
Anchor ID is configured and available in HTML
No errors were found in console
Hi @Nandheswara
Where is the target element with the id? where you jump when click on this anchor link.
There are potential reasons why anchor links might not be working correctly in AEM 6.5. Here are a few things to check:
#
. It should be the same as the ID of the element you want to link to. For example, if you want to link to an element with the ID section2
, the anchor ID would be #section2
.If you have checked all of these things and you are still having problems, you may need to contact Adobe support for further assistance.
Views
Replies
Total Likes
@Nandheswara Did you find the suggestions from users helpful? Please let us know if more information is required. Otherwise, please mark the answer as correct for posterity. If you have found out solution yourself, please share it with the community.
Views
Replies
Total Likes
Views
Likes
Replies