Dale wrote:
> I am looking into having my Main Menu and any Submenus in one file so I
> don't have to edit all files when I change the Menus.
>
> https://www.dalekelly.org/
>
> Will be browsing around.
While it /could/ be done with Server-Side Includes, it is best done with
server-side scripting nowadays. I would prefer PHP, but YMMV.
It /could/ also be done with client-side scripting at the expense of
interoperability and some maintainability: In every HTML document that
needs to contain the main menu, include a `script` element that inserts
the main menu. I recommend against that.
You are probably best off using a CMS that generates that menu for you,
like WordPress (which is PHP-based).
--
PointedEars
Twitter: @PointedEars2
Please do not cc me. / Bitte keine Kopien per E-Mail.