🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.javascript
Article #12

Re: main menu

#12
From: Dale
Date: Thu, 29 Oct 2026 01:46
103 lines
5341 bytes
On 10/28/2026 9:19 PM, Jon Ribbens wrote:
> On 2026-10-29, Dale <dalekellytoo@gmail.com> wrote:
>> On 10/28/2026 6:31 PM, Dale wrote:
>>> On 10/28/2026 3:03 PM, Jon Ribbens wrote:
>>>> On 2026-10-28, Dale <dalekellytoo@gmail.com> wrote:
>>>>> On 10/28/2026 12:02 PM, Jon Ribbens wrote:
>>>>>> On 2026-10-28, Dale <dalekellytoo@gmail.com> wrote:
>>>>>>> On 10/28/2026 10:02 AM, Jon Ribbens wrote:
>>>>>>>> On 2026-10-28, Dale <dalekellytoo@gmail.com> wrote:
>>>>>>>>>> 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
>>>>>>>>
>>>>>>>> In the style definition for .dropdown-menu change 'right: 0' to
>>>>>>>> 'left: 0'.
>>>>>>>
>>>>>>> that worked great, thank you !
>>>>>>>
>>>>>>> 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
>>>>>>
>>>>>> You could potentially use Apache Server-Side Includes to put the menu
>>>>>> code into a separate file that is included automatically into each
>>>>>> page:
>>>>>> https://httpd.apache.org/docs/current/howto/ssi.html
>>>>>> e.g. <!--#include virtual="/menu.html" -->
>>>>>>
>>>>>> Or you could move to an actual static site templating system such as
>>>>>> Jekyll: https://jekyllrb.com/  But be aware there is a noticeable
>>>>>> learning curve there.
>>>>>>
>>>>>>> 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
>>>>>>
>>>>>> There's no particularly obvious reason that shouldn't work.
>>>>>
>>>>> 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
>>>>
>>>> Just get rid of the 'margin-left: 20%' on 'div.content' - you've
>>>> already put 'text-align: center' all over the place anyway. Having
>>>> all the content inside heading tags is far from ideal though.
>>>
>>> thank you
>>>
>>> looks much better
>>
>> 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?


> 
> '.dropdown-menu a { font-size: 1.2em; }' seems pretty straightforward.
> 

worked great, thank you

>> What about size/location design of things on each page?
> 
> I think you may need to do some research on that ;-)

that was part of my plan for tomorrow ;-)

-- 
Lore? -> https://www.dalekelly.org/
Technical Details
Message-ID: <p_ScnUj61JPjOH_3nZ2dnZfqnPadnZ2d@supernews.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!feeder.usenetexpress.com!tr2.iad1.usenetexpress.com!69.80.99.15.MISMATCH!border-1.nntp.ord.giganews.com!nntp.giganews.com!local-4.nntp.ord.giganews.com!Xl.tags.giganews.com!local-3.nntp.ord.giganews.com!nntp.supernews.com!news.supernews.com.POSTED!not-for-mail
References: <vnadneGOjuwqA3z3nZ2dnZfqnPidnZ2d@supernews.com> <wGadnS3vn6B1cHz3nZ2dnZfqnPWdnZ2d@supernews.com> <wGadnS_vn6A1c3z3nZ2dnZfqnPWdnZ2d@supernews.com> <slrn11e403m.2an.jon+usenet@raven.unequivocal.eu> <yN-dnTIar9ETkH_3nZ2dnZfqn_ednZ2d@supernews.com> <slrn11e474v.2an.jon+usenet@raven.unequivocal.eu> <pYOcna3OevAUoX_3nZ2dnZfqn_adnZ2d@supernews.com> <slrn11e4hok.2an.jon+usenet@raven.unequivocal.eu> <pr2cnWBHd6576n_3nZ2dnZfqnPGdnZ2d@supernews.com> <2YucndokMq4wDH_3nZ2dnZfqn_GdnZ2d@supernews.com> <slrn11e57p6.2an.jon+usenet@raven.unequivocal.eu>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!feeder.usenetexpress.com!tr2.iad1.usenetexpress.com!69.80.99.15.MISMATCH!border-1.nntp.ord.giganews.com!nntp.giganews.com!local-4.nntp.ord.giganews.com!Xl.tags.giganews.com!local-3.nntp.ord.giganews.com!nntp.supernews.com!news.supernews.com.POSTED!not-for-mail
NNTP-Posting-Date: Thu, 29 Oct 2026 01:46:37 +0000
Date: Wed, 28 Oct 2026 21:46:34 -0400
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: main menu
Newsgroups: alt.comp.lang.javascript,comp.lang.javascript
References: <vnadneGOjuwqA3z3nZ2dnZfqnPidnZ2d@supernews.com> <wGadnS3vn6B1cHz3nZ2dnZfqnPWdnZ2d@supernews.com> <wGadnS_vn6A1c3z3nZ2dnZfqnPWdnZ2d@supernews.com> <slrn11e403m.2an.jon+usenet@raven.unequivocal.eu> <yN-dnTIar9ETkH_3nZ2dnZfqn_ednZ2d@supernews.com> <slrn11e474v.2an.jon+usenet@raven.unequivocal.eu> <pYOcna3OevAUoX_3nZ2dnZfqn_adnZ2d@supernews.com> <slrn11e4hok.2an.jon+usenet@raven.unequivocal.eu> <pr2cnWBHd6576n_3nZ2dnZfqnPGdnZ2d@supernews.com> <2YucndokMq4wDH_3nZ2dnZfqn_GdnZ2d@supernews.com> <slrn11e57p6.2an.jon+usenet@raven.unequivocal.eu>
Content-Language: en-US
From: Dale <dalekellytoo@gmail.com>
Organization: www.dalekelly.org
In-Reply-To: <slrn11e57p6.2an.jon+usenet@raven.unequivocal.eu>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Message-ID: <p_ScnUj61JPjOH_3nZ2dnZfqnPadnZ2d@supernews.com>
Lines: 103
X-Trace: sv3-hc72SWm54xdxp0/tL++KWtTHeYTPEipDFoLda/25WBg2TdQhpRZhe+GueMJHbfiiOmDmJ0cfky46hUU!VWHvRf/Ah3RvM4yk+WqP5ZyzfF6HRv1GyE0rnRkIWpuA6sOgzGwx5ZopYHhxudQbaezMTNoatf1w!CcgeSnkeDO0=
X-Complaints-To: www.supernews.com/docs/abuse.html
X-DMCA-Complaints-To: www.supernews.com/docs/dmca.html
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40