admin管理员组

文章数量:1334311

I am tasked with creating a subnav in the body of our custom-built pages. The nav's last item is supposed to be a clickable dropdown (a "more" button) that can dynamically populate if extra pages are added via the dashboard. I'm trying to figure out how to code this in PHP and JS without a plug-in. Any sort of point in the right direction is greatly appreciated!

I am tasked with creating a subnav in the body of our custom-built pages. The nav's last item is supposed to be a clickable dropdown (a "more" button) that can dynamically populate if extra pages are added via the dashboard. I'm trying to figure out how to code this in PHP and JS without a plug-in. Any sort of point in the right direction is greatly appreciated!

Share Improve this question asked May 21, 2020 at 21:05 bfoley_teamugbfoley_teamug 111 bronze badge
Add a comment  | 

1 Answer 1

Reset to default 0

Well, here's my best shot, although when I add another item to the dropdown, the styling gets weird. https://codepen.io/bfoley650/pen/PoZwKeb

本文标签: menusHow to dynamically populate a dropdown