From 521a0c37fda853f2aa03c553bf92ea37737d8bc2 Mon Sep 17 00:00:00 2001 From: Mark Root-Wiley Date: Wed, 22 May 2024 09:28:36 -0700 Subject: [PATCH] additional readme improvements to clarify need to style the menu, showcase new features --- readme.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/readme.md b/readme.md index cce834f..402b9b1 100644 --- a/readme.md +++ b/readme.md @@ -8,7 +8,7 @@ Jump to: [About](#about), [Features](#features), [Setup & Configuration](#setup- A project by Mark Root-Wiley, [MRW Web Design](https://MRWweb.com) -Clicky Menus lets you create a progressively-enhanced, accessible one-level dropdown menu that opens when activated by click, touch, or `ENTER`/`SPACE`. The menu is progressively enhanced, supporting hover and keyboard navigation (in modern browsers) if JS is not enabled. +Clicky Menus lets you create a progressively enhanced, accessible one-level dropdown menu that opens when activated by click, touch, or `ENTER`/`SPACE`. The menu supports hover and keyboard navigation when JS is not enabled. [Demo on CodePen](https://codepen.io/mrwweb/pen/pXqKZO) @@ -23,6 +23,7 @@ Why should you want menus that work this way? Read the accompanying article on C - Close open submenu with click outside of open menu - Basic offscreen-menu prevention - [Configure custom submenu selector](#custom-submenu-selector) +- [Programmatically close open submenus](#closing-submenus-with-js) ### Why only one level of submenu? @@ -55,6 +56,7 @@ Once you have the files: 1. Load `clicky-menus.js` anywhere in the DOM and `clicky-menus.css` in the ``. 2. Put the `clicky-menu` and `no-js` classes on the top-level `