Hi Team,
I have created navigation component using AEM core components. Please suggest how I can fetch the child pages of navigation on Hover.
Thanks!
Solved! Go to Solution.
Views
Replies
Total Likes
Hi @Heena91
The OOTB core navigation component will list out all the pages including the child pages. Using CSS and JS you can hide the child pages by default and on hover you can show it.
Please see https://www.vyvansepro.com/adhd/adult-adhd site where we have implemented the core navigation component without any modification.
Thanks!
Hi @Heena91
The OOTB core navigation component will list out all the pages including the child pages. Using CSS and JS you can hide the child pages by default and on hover you can show it.
Please see https://www.vyvansepro.com/adhd/adult-adhd site where we have implemented the core navigation component without any modification.
Thanks!
In my case only navigation items are showing, sub pages are not appearing.
HTL:
<div class="cmp-navigation--header" id="header-navbar"
data-sly-resource="${'navigation' @ resourceType='wknd/components/structure/navigation'}">
</div>
Thanks!
Views
Replies
Total Likes
Views
Replies
Total Likes
Views
Replies
Total Likes
@Heena91 What is level option you have selected in dialog?
Please see the configuration here:
Views
Replies
Total Likes
Yes, I found the depth option, it was set to 1. Now, I changed it to 2 and able to see the child pages.
Now, will try to hide this and show this on hover using CSS/JS as suggested by you.
Thanks!!
Views
Replies
Total Likes
Views
Replies
Total Likes
Views
Likes
Replies