Thread View: comp.infosystems.www.authoring.html
12 messages
12 total messages
Started by Dale
Wed, 28 Oct 2026 01:30
main menu on w3.org
Author: Dale
Date: Wed, 28 Oct 2026 01:30
Date: Wed, 28 Oct 2026 01:30
21 lines
1766 bytes
1766 bytes
How can I do the main menu on ... https://www.w3.org/ ? I have seen this on a lot of sites. I think it would be better than how I do a main menu for different sizes of browser's windows. https://www.dalekelly.org/ Looked at the code on the Chrome Browser but can't figure it out. Prefer no scripts. -- Lore? -> https://www.dalekelly.org/
Re: main menu on w3.org
Author: David E. Ross
Date: Wed, 28 Oct 2026 04:35
Date: Wed, 28 Oct 2026 04:35
33 lines
2136 bytes
2136 bytes
On 10/27/2026 6:30 PM, Dale wrote: > > How can I do the main menu on ... > > https://www.w3.org/ > > ? > > I have seen this on a lot of sites. > > I think it would be better than how I do a main menu for different sizes > of browser's windows. > > https://www.dalekelly.org/ > > Looked at the code on the Chrome Browser but can't figure it out. > > Prefer no scripts. > What do you mean "do the main menu"? -- David E. Ross <http://www.rossde.com> NO, not everyone has a smart phone. My wife and I have "dumb cell phones" and a land-line. Neither of us can handle QR codes, reply to text messages, or have any kind of phone-based Internet connections. We have no APS on any phone. We can send and receive photos only through our desktop PCs.
Re: main menu on w3.org
Author: Dale
Date: Wed, 28 Oct 2026 06:51
Date: Wed, 28 Oct 2026 06:51
37 lines
2145 bytes
2145 bytes
On 10/28/2026 12:35 AM, David E. Ross wrote: > On 10/27/2026 6:30 PM, Dale wrote: >> >> How can I do the main menu on ... >> >> https://www.w3.org/ >> >> ? >> >> I have seen this on a lot of sites. >> >> I think it would be better than how I do a main menu for different sizes >> of browser's windows. >> >> https://www.dalekelly.org/ >> >> Looked at the code on the Chrome Browser but can't figure it out. >> >> Prefer no scripts. >> > > What do you mean "do the main menu"? > on w3.org there is a menu icon on the upper right corner that I would like to design for all of my pages https://www.w3.org/ -- Lore? -> https://www.dalekelly.org/
Re: main menu on w3.org
Author: Arno Welzel
Date: Wed, 28 Oct 2026 10:52
Date: Wed, 28 Oct 2026 10:52
41 lines
2747 bytes
2747 bytes
Dale, 2026-10-28 07:51: [...]> on w3.org there is a menu icon on the upper right corner that I would > like to design for all of my pages > > > https://www.w3.org/ The way how the menu is displayed, depends on the width of the viewport. So on mobile devices you will have a menu in the top right corner while desktop systems will have a list of drop down menus on top next to each other. This is also called "responsive design" - using CSS media queries you can define which rules apply depending on the properties of the current browser view. See more about this here: <https://www.w3schools.com/css/css_rwd_mediaqueries.asp> In addition browsers nowadays support a "popover" API which allows to build popover menus without JavaScript. The idea is, that you tell the browser which element is used to open and close the menu and which element contains the menu itself. The browser will then completely handle the menu on its own without any need for JavaScript. See more about this here: <https://developer.mozilla.org/en-US/docs/Web/API/Popover_API> And you can also use CSS to display or hide elements if the visible parent element touched by the mouse. This is how the drop down menus are implemented on my website <https://arnowelzel.de> - so these also work when JavaScript is disabled, since it is only CSS. -- Arno Welzel https://arnowelzel.de
Re: main menu on w3.org
Author: Dale
Date: Wed, 28 Oct 2026 12:43
Date: Wed, 28 Oct 2026 12:43
34 lines
2214 bytes
2214 bytes
On 10/27/2026 9:30 PM, Dale wrote: > > How can I do the main menu on ... > > https://www.w3.org/ > > ? > > I have seen this on a lot of sites. > > I think it would be better than how I do a main menu for different sizes > of browser's windows. > > https://www.dalekelly.org/ > > Looked at the code on the Chrome Browser but can't figure it out. > > Prefer no scripts. > Here is my progress so far: https://www.dalekelly.org/mystyle3.css https://www.dalekelly.org/index - Copyagain.html the menu options but the text doesn't show want the menu to always be there when I browse the links of the menu -- Lore? -> https://www.dalekelly.org/
Re: main menu on w3.org
Author: Dale
Date: Wed, 28 Oct 2026 12:48
Date: Wed, 28 Oct 2026 12:48
42 lines
2410 bytes
2410 bytes
On 10/28/2026 8:43 AM, Dale wrote: > On 10/27/2026 9:30 PM, Dale wrote: >> >> How can I do the main menu on ... >> >> https://www.w3.org/ >> >> ? >> >> I have seen this on a lot of sites. >> >> I think it would be better than how I do a main menu for different >> sizes of browser's windows. >> >> https://www.dalekelly.org/ >> >> Looked at the code on the Chrome Browser but can't figure it out. >> >> Prefer no scripts. >> > > Here is my progress so far: > > https://www.dalekelly.org/mystyle3.css > > https://www.dalekelly.org/index - Copyagain.html > > the menu options but the text doesn't show > > want the menu to always be there when I browse the links of the menu > > > fixed the name: https://www.dalekelly.org/indexCopyagain.html -- Lore? -> https://www.dalekelly.org/
Re: main menu on w3.org
Author: Dale
Date: Wed, 28 Oct 2026 14:59
Date: Wed, 28 Oct 2026 14:59
58 lines
2938 bytes
2938 bytes
On 10/28/2026 8:48 AM, Dale wrote: > On 10/28/2026 8:43 AM, Dale wrote: >> On 10/27/2026 9:30 PM, Dale wrote: >>> >>> How can I do the main menu on ... >>> >>> https://www.w3.org/ >>> >>> ? >>> >>> I have seen this on a lot of sites. >>> >>> I think it would be better than how I do a main menu for different >>> sizes of browser's windows. >>> >>> https://www.dalekelly.org/ >>> >>> Looked at the code on the Chrome Browser but can't figure it out. >>> >>> Prefer no scripts. >>> >> >> Here is my progress so far: >> >> https://www.dalekelly.org/mystyle3.css >> >> https://www.dalekelly.org/index - Copyagain.html >> >> the menu options but the text doesn't show >> >> want the menu to always be there when I browse the links of the menu >> >> >> > > > fixed the name: > > https://www.dalekelly.org/indexCopyagain.html > > https://www.dalekelly.org/indexCopyagain.html I got the menu showing up just have to put the new menu on all of my around 50 pages unless there is an easier design, something like having the menu only on the home page or CSS file to do that I would put the new CSS into the CSS file instead of HTML <style> location, tried but didn't work https://www.dalekelly.org/mystyle3.css -- Lore? -> https://www.dalekelly.org/
Re: main menu on w3.org
Author: Arno Welzel
Date: Wed, 28 Oct 2026 15:22
Date: Wed, 28 Oct 2026 15:22
42 lines
2686 bytes
2686 bytes
Dale, 2026-10-28 15:59:
> https://www.dalekelly.org/indexCopyagain.html
>
> I got the menu showing up
>
> just have to put the new menu on all of my around 50 pages unless there
> is an easier design, something like having the menu only on the home
> page or CSS file
>
> to do that I would put the new CSS into the CSS file instead of HTML
> <style> location, tried but didn't work
>
> https://www.dalekelly.org/mystyle3.css
You should think about using either service side includes to include the
menu on every page where you need it:
<!--#include file="menu.html" -->
Also see:
<https://en.wikipedia.org/wiki/Server_Side_Includes>
<https://httpd.apache.org/docs/current/howto/ssi.html>
Or use PHP and the following snippet:
<?php readfile('menu.html'); ?>
Depending on where the file is relative to the page, you may also have
to specifiy the full or relative path of the file.
For PHP all pages also need to be served with PHP which means you server
needs to support PHP and the files need to have the extension ".php"
which may also need to update existing links and maybe add a redirection
rule in .htaccess to change incoming requests from ".html" to ".php"
where needed.
--
Arno Welzel
https://arnowelzel.de
Re: main menu on w3.org
Author: Dale
Date: Wed, 28 Oct 2026 18:17
Date: Wed, 28 Oct 2026 18:17
64 lines
3476 bytes
3476 bytes
On 10/28/2026 11:22 AM, Arno Welzel wrote:
> Dale, 2026-10-28 15:59:
>
>> https://www.dalekelly.org/indexCopyagain.html
>>
>> I got the menu showing up
>>
>> just have to put the new menu on all of my around 50 pages unless there
>> is an easier design, something like having the menu only on the home
>> page or CSS file
>>
>> to do that I would put the new CSS into the CSS file instead of HTML
>> <style> location, tried but didn't work
>>
>> https://www.dalekelly.org/mystyle3.css
>
> You should think about using either service side includes to include the
> menu on every page where you need it:
>
> <!--#include file="menu.html" -->
>
> Also see:
>
> <https://en.wikipedia.org/wiki/Server_Side_Includes>
> <https://httpd.apache.org/docs/current/howto/ssi.html>
>
> Or use PHP and the following snippet:
>
> <?php readfile('menu.html'); ?>
>
> Depending on where the file is relative to the page, you may also have
> to specifiy the full or relative path of the file.
>
> For PHP all pages also need to be served with PHP which means you server
> needs to support PHP and the files need to have the extension ".php"
> which may also need to update existing links and maybe add a redirection
> rule in .htaccess to change incoming requests from ".html" to ".php"
> where needed.
>
>
thank you !
here is how far I got without something like an "include"
9 main menu items, 15 others on "thoughts"
https://www.dalekelly.org/
https://www.dalekelly.org/mystyle5.css
menu seems to be further to the left than the pages, I like the page to
be centered on HOME page, pages are much worse on smart phone
I think this is a CSS or <style> thing I have to look into
--
Lore? -> https://www.dalekelly.org/
Re: main menu on w3.org
Author: Dale
Date: Thu, 29 Oct 2026 00:22
Date: Thu, 29 Oct 2026 00:22
34 lines
2152 bytes
2152 bytes
On 10/27/2026 9:30 PM, Dale wrote: > > How can I do the main menu on ... > > https://www.w3.org/ > > ? > > I have seen this on a lot of sites. > > I think it would be better than how I do a main menu for different sizes > of browser's windows. > > https://www.dalekelly.org/ > > Looked at the code on the Chrome Browser but can't figure it out. > > Prefer no scripts. > Got the menu on all pages. https://www.dalekelly.org/ https://www.dalekelly.org/mystyle5.css How can I increase the text size in this menu? What about size/location design of things on each page? -- Lore? -> https://www.dalekelly.org/
Re: main menu on w3.org
Author: Dale
Date: Thu, 29 Oct 2026 01:49
Date: Thu, 29 Oct 2026 01:49
42 lines
2366 bytes
2366 bytes
On 10/28/2026 8:22 PM, Dale wrote: > On 10/27/2026 9:30 PM, Dale wrote: >> >> How can I do the main menu on ... >> >> https://www.w3.org/ >> >> ? >> >> I have seen this on a lot of sites. >> >> I think it would be better than how I do a main menu for different >> sizes of browser's windows. >> >> https://www.dalekelly.org/ >> >> Looked at the code on the Chrome Browser but can't figure it out. >> >> Prefer no scripts. >> > > > Got the menu on all pages. > > https://www.dalekelly.org/ > > https://www.dalekelly.org/mystyle5.css > > How can I increase the text size in this menu? > > What about size/location design of things on each page? > > for text size on menu font-size: 1.2em; in .dropdown-menu of mystyle5.css worked -- Lore? -> https://www.dalekelly.org/
Re: main menu on w3.org
Author: Dale
Date: Sat, 31 Oct 2026 08:59
Date: Sat, 31 Oct 2026 08:59
26 lines
1954 bytes
1954 bytes
On 10/27/2026 9:30 PM, Dale wrote: > > How can I do the main menu on ... > > https://www.w3.org/ > > ? > > I have seen this on a lot of sites. > > I think it would be better than how I do a main menu for different sizes > of browser's windows. > > https://www.dalekelly.org/ > > Looked at the code on the Chrome Browser but can't figure it out. > > Prefer no scripts. > Here is where I got while doing new menu: https://www.dalekelly.org/ -- Lore? -> https://www.dalekelly.org/
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads