• common main menu ?

    From Dale@dalekellytoo@gmail.com to comp.infosystems.www.authoring.html,comp.infosystems.www.authoring.stylesheets,alt.html on Thu May 28 22:42:57 2026
    From Newsgroup: alt.html


    https://www.dalekelly.org/

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

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

    How can I have one main menu for all pages ?
    --
    Mystery? -> https://www.dalekelly.org/

    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From David E. Ross@nobody@nowhere.invalid to comp.infosystems.www.authoring.html,comp.infosystems.www.authoring.stylesheets,alt.html on Fri May 29 08:07:07 2026
    From Newsgroup: alt.html

    On 5/28/2026 7:42 PM, Dale wrote:

    https://www.dalekelly.org/

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

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

    How can I have one main menu for all pages ?

    <LINK REL="STYLESHEET" TYPE="text/css" HREF="www.dalekelly.org/mystyle.css">
    --
    David E. Ross
    <http://www.rossde.com/>
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Jonathan N. Little@lws4art@gmail.com to comp.infosystems.www.authoring.html,comp.infosystems.www.authoring.stylesheets,alt.html on Sun May 31 10:13:21 2026
    From Newsgroup: alt.html

    David E. Ross wrote:
    On 5/28/2026 7:42 PM, Dale wrote:

    https://www.dalekelly.org/

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

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

    How can I have one main menu for all pages ?

    <LINK REL="STYLESHEET" TYPE="text/css" HREF="www.dalekelly.org/mystyle.css">



    That might harmonize the styling of the menu, but not do what I think
    the OP is asking.

    If you want to define a menu in one place and have it on all sites pages
    there are 3 options.

    1) Server side includes
    2) JavaScript defined and injection
    3) Server side scripting includes, i.e. PHP, CGI, etc
    --
    Take care,

    Jonathan
    -------------------
    LITTLE WORKS STUDIO
    http://www.LittleWorksStudio.com
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Dale@dalekellytoo@gmail.com to comp.infosystems.www.authoring.html,comp.infosystems.www.authoring.stylesheets,alt.html on Sun May 31 16:24:39 2026
    From Newsgroup: alt.html

    On 5/31/2026 10:13 AM, Jonathan N. Little wrote:
    David E. Ross wrote:
    On 5/28/2026 7:42 PM, Dale wrote:

    https://www.dalekelly.org/

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

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

    How can I have one main menu for all pages ?

    <LINK REL="STYLESHEET" TYPE="text/css" HREF="www.dalekelly.org/mystyle.css"> >>


    That might harmonize the styling of the menu, but not do what I think
    the OP is asking.

    If you want to define a menu in one place and have it on all sites pages there are 3 options.

    1) Server side includes
    2) JavaScript defined and injection
    3) Server side scripting includes, i.e. PHP, CGI, etc



    Thank You again !

    The only thing is when I first started web programming in the mid 90's
    cookies and scripts could cause a lot of things like pop-ups.

    I don't know the side effects of cookies and scripts now.
    --
    Mystery? -> https://www.dalekelly.org/
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Lawrence =?iso-8859-13?q?D=FFOliveiro?=@ldo@nz.invalid to comp.infosystems.www.authoring.html,comp.infosystems.www.authoring.stylesheets,alt.html on Mon Jun 1 00:07:41 2026
    From Newsgroup: alt.html

    On Sun, 31 May 2026 16:24:39 -0400, Dale wrote:

    The only thing is when I first started web programming in the mid
    90's cookies and scripts could cause a lot of things like pop-ups.

    I don't know the side effects of cookies and scripts now.

    IrCOm not sure that cookies are relevant to the issue here (a common
    portion across multiple web pages).

    As for scripts, how the back-end generates the pages is no concern of
    the user or their browser.
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Arno Welzel@usenet@arnowelzel.de to comp.infosystems.www.authoring.html,comp.infosystems.www.authoring.stylesheets,alt.html on Sun Jun 7 10:14:44 2026
    From Newsgroup: alt.html

    Dale, 2026-05-31 22:24:

    On 5/31/2026 10:13 AM, Jonathan N. Little wrote:
    [...]>> If you want to define a menu in one place and have it on all
    sites pages
    there are 3 options.

    1) Server side includes
    2) JavaScript defined and injection
    3) Server side scripting includes, i.e. PHP, CGI, etc



    Thank You again !

    The only thing is when I first started web programming in the mid 90's cookies and scripts could cause a lot of things like pop-ups.

    Please do not mix up things - by law in some countries it is mandatory
    to show a popup, if you want to use cookies. But this popup is generated
    by the website using JavaScript. It is *not* automatically displayed
    just because you set a cookie.

    Also JavaScript does *not* cause "things like pop-ups".

    I don't know the side effects of cookies and scripts now.

    There are none. You can just not rely on them since users may disable JavaScript or may block cookies - so you should not rely on that for
    important features of your website like navigation.
    --
    Arno Welzel
    https://arnowelzel.de
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Jonathan N. Little@lws4art@gmail.com to comp.infosystems.www.authoring.html,comp.infosystems.www.authoring.stylesheets,alt.html on Sun Jun 7 10:36:02 2026
    From Newsgroup: alt.html

    Arno Welzel wrote:
    There are none. You can just not rely on them since users may disable JavaScript or may block cookies - so you should not rely on that for important features of your website like navigation.

    I agree, but a bulk of the internet is populated with sites that do not function without JavaScript, (I'm looking at you Google and AngularJS,
    ... one among many)
    --
    Take care,

    Jonathan
    -------------------
    LITTLE WORKS STUDIO
    http://www.LittleWorksStudio.com
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From dg1261@dgREMOVE-THIS1261@cs.com to comp.infosystems.www.authoring.html,comp.infosystems.www.authoring.stylesheets,alt.html on Fri Jun 12 09:42:32 2026
    From Newsgroup: alt.html

    "Jonathan N. Little" <lws4art@gmail.com> wrote in news:10vhfm2$1j4pt$1@dont-email.me:

    If you want to define a menu in one place and have it on all sites
    pages there are 3 options.

    1) Server side includes
    2) JavaScript defined and injection
    3) Server side scripting includes, i.e. PHP, CGI, etc

    My vote for Dale is SSI ("Server Side Includes"). It's robust and dirt
    simple to implement.

    Dale, the basic idea is you take a section of code that's repeated on
    multiple pages and save it as a separate file, then repeatedly call that
    file from the HTML on each of the separate pages on which it's supposed
    to appear.

    If anyone wants an example of it in use, see my site at www.goodells.net, which has been using SSI extensively for around 25 years. The top banner, menus, page footer, and more are not part of each page's base HTML, but
    are separate pieces, each written once and reused on multiple pages.

    For instance, the page footer is a single file, and when I updated the
    footer from "2025" to "2026" at the beginning of the year, I edited only
    a single file and the change showed up on every page. It sounds to me
    like this is the kind of thing Dale is trying to accomplish.

    Note: FWIW, IME the main HTML of the page doing the importing must be
    named .SHTML, but the file being imported can have any eztension --
    though I think it's practical to keep it consistent with it's purpose
    (such as .css, .cgi, .html, or even .shtml if the secondary file is
    itself going to import yet another SSI file).


    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Dale@dalekellytoo@gmail.com to comp.infosystems.www.authoring.html,comp.infosystems.www.authoring.stylesheets,alt.html on Fri Jun 12 05:49:29 2026
    From Newsgroup: alt.html

    On 6/12/2026 5:42 AM, dg1261 wrote:
    "Jonathan N. Little" <lws4art@gmail.com> wrote in news:10vhfm2$1j4pt$1@dont-email.me:

    If you want to define a menu in one place and have it on all sites
    pages there are 3 options.

    1) Server side includes
    2) JavaScript defined and injection
    3) Server side scripting includes, i.e. PHP, CGI, etc

    My vote for Dale is SSI ("Server Side Includes"). It's robust and dirt
    simple to implement.

    Dale, the basic idea is you take a section of code that's repeated on multiple pages and save it as a separate file, then repeatedly call that
    file from the HTML on each of the separate pages on which it's supposed
    to appear.

    If anyone wants an example of it in use, see my site at www.goodells.net, which has been using SSI extensively for around 25 years. The top banner, menus, page footer, and more are not part of each page's base HTML, but
    are separate pieces, each written once and reused on multiple pages.

    For instance, the page footer is a single file, and when I updated the
    footer from "2025" to "2026" at the beginning of the year, I edited only
    a single file and the change showed up on every page. It sounds to me
    like this is the kind of thing Dale is trying to accomplish.

    Note: FWIW, IME the main HTML of the page doing the importing must be
    named .SHTML, but the file being imported can have any eztension --
    though I think it's practical to keep it consistent with it's purpose
    (such as .css, .cgi, .html, or even .shtml if the secondary file is
    itself going to import yet another SSI file).



    Sounds Great !

    Thank You !

    I am going to work on this !
    --
    Mystery? -> https://www.dalekelly.org/
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Arno Welzel@usenet@arnowelzel.de to comp.infosystems.www.authoring.html,comp.infosystems.www.authoring.stylesheets,alt.html on Sun Jun 14 15:05:34 2026
    From Newsgroup: alt.html

    Mr. Man-wai Chang, 2026-06-11 13:54:

    On 6/7/2026 4:14 PM, Arno Welzel wrote:


    Also JavaScript does *not* cause "things like pop-ups".

    Of course, it depends on the browser, and its implementation of Document Object Model (DOM). Is this regulated by laws? Globally? I don't think so.

    No browser shows a popup just because you use JavaScript. There is also
    no regulation which requires this.

    Please do not confuse "create a popup using JavaScript" with "a popup
    will be displayed, because a document contains JavaScript, even if the
    script does not create the popup itself".
    --
    Arno Welzel
    https://arnowelzel.de
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Arno Welzel@usenet@arnowelzel.de to comp.infosystems.www.authoring.html,comp.infosystems.www.authoring.stylesheets,alt.html on Sun Jun 14 15:07:29 2026
    From Newsgroup: alt.html

    dg1261, 2026-06-12 11:42:

    "Jonathan N. Little" <lws4art@gmail.com> wrote in news:10vhfm2$1j4pt$1@dont-email.me:

    If you want to define a menu in one place and have it on all sites
    pages there are 3 options.

    1) Server side includes
    2) JavaScript defined and injection
    3) Server side scripting includes, i.e. PHP, CGI, etc

    My vote for Dale is SSI ("Server Side Includes"). It's robust and dirt simple to implement.

    When the support for SSI is not enabled on the server, it is impossible.
    --
    Arno Welzel
    https://arnowelzel.de
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Mr. Man-wai Chang@toylet.toylet@gmail.com to comp.infosystems.www.authoring.html,comp.infosystems.www.authoring.stylesheets,alt.html on Mon Jun 15 13:48:49 2026
    From Newsgroup: alt.html

    On 6/14/2026 9:05 PM, Arno Welzel wrote:
    Mr. Man-wai Chang, 2026-06-11 13:54:

    Of course, it depends on the browser, and its implementation of Document
    Object Model (DOM). Is this regulated by laws? Globally? I don't think so.

    No browser shows a popup just because you use JavaScript. There is also
    no regulation which requires this.
    I was talking about custom, DIY browsers! Not those famous brands (e.g. Netscape, Firefox....)
    --

    @~@ Simplicity is Beauty! Remain silent! Drink, Blink, Stretch!
    / v \ May the Force and farces be with you! Live long and prosper!!
    /( _ )\ https://sites.google.com/site/changmw/
    ^ ^ https://github.com/changmw/changmw
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Jonathan N. Little@lws4art@gmail.com to comp.infosystems.www.authoring.html,comp.infosystems.www.authoring.stylesheets,alt.html on Mon Jun 15 11:14:55 2026
    From Newsgroup: alt.html

    Arno Welzel wrote:
    dg1261, 2026-06-12 11:42:

    "Jonathan N. Little" <lws4art@gmail.com> wrote in
    news:10vhfm2$1j4pt$1@dont-email.me:

    If you want to define a menu in one place and have it on all sites
    pages there are 3 options.

    1) Server side includes
    2) JavaScript defined and injection
    3) Server side scripting includes, i.e. PHP, CGI, etc

    My vote for Dale is SSI ("Server Side Includes"). It's robust and dirt
    simple to implement.

    When the support for SSI is not enabled on the server, it is impossible.


    More likely PHP is available and is pretty simple to do includes. It
    would by my preferred option.
    --
    Take care,

    Jonathan
    -------------------
    LITTLE WORKS STUDIO
    http://www.LittleWorksStudio.com
    --- Synchronet 3.22a-Linux NewsLink 1.2