• sub-menu?

    From Dale@dalekellytoo@gmail.com to comp.lang.javascript,alt.comp.lang.javascript on Sun Nov 1 13:55:27 2026
    From Newsgroup: comp.lang.javascript


    Got a new menu on my website.

    I like the new menu more lately for smart phones.

    https://www.dalekelly.org/

    https://www.dalekelly.org/mystyle5.css

    Any designs available for sub-menus?

    Will be researching this.

    The new menu is in one of those square icons with 3 lines.

    w3.org has the type of menu now.
    --
    Lore? -> https://www.dalekelly.org/

    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Dale@dalekellytoo@gmail.com to comp.lang.javascript,alt.comp.lang.javascript on Sun Nov 1 21:05:12 2026
    From Newsgroup: comp.lang.javascript

    On 11/1/2026 1:55 PM, Dale wrote:

    Got a new menu on my website.

    I like the new menu more lately for smart phones.

    https://www.dalekelly.org/

    https://www.dalekelly.org/mystyle5.css

    Any designs available for sub-menus?

    Will be researching this.

    The new menu is in one of those square icons with 3 lines.

    w3.org has the type of menu now.



    Design Ideas of sub pages in menu?

    Will be researching this.
    --
    Lore? -> https://www.dalekelly.org/
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Dale@dalekellytoo@gmail.com to comp.lang.javascript,alt.comp.lang.javascript on Mon Nov 2 19:18:41 2026
    From Newsgroup: comp.lang.javascript

    On 11/1/2026 1:55 PM, Dale wrote:

    Got a new menu on my website.

    I like the new menu more lately for smart phones.

    https://www.dalekelly.org/

    https://www.dalekelly.org/mystyle5.css

    Any designs available for sub-menus?

    Will be researching this.

    The new menu is in one of those square icons with 3 lines.

    w3.org has the type of menu now.



    Almost there with a recommendation from the r/HTML group on Reddit!

    I would like the sub-menu to indent to the right of the main menu.

    https://www.dalekelly.org/indexsubmenu.html

    https://www.dalekelly.org/mystyle7.css

    Here is the code from Reddit (find details of mine in links above):

    You can simply replace, for example,

    <a href="https://www.dalekelly.org/images.html">Images</a>
    with

    <details>
    <summary>Images</summary>
    <a href="https://www.dalekelly.org/images.html">Images 1</a>
    <a href="https://www.dalekelly.org/images2.html">Images 2</a>
    </details>

    and add this

    .dropdown-menu details summary {
    padding: 10px 15px;
    /* display:block; */ /* to hide the marker */
    }
    .dropdown-menu details::details-content {
    margin-inline-start:17px;
    }
    to your css.
    --
    Lore? -> https://www.dalekelly.org/
    --- Synchronet 3.22a-Linux NewsLink 1.2