Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #33532
| From | Thomas 'PointedEars' Lahn <PointedEars@web.de> |
|---|---|
| Newsgroups | comp.lang.javascript |
| Subject | Re: Looking for JS library that can do hierarchical menus |
| Date | 2017-06-16 17:03 +0200 |
| Organization | PointedEars Software (PES) |
| Message-ID | <10853112.O9o76ZdvQC@PointedEars.de> (permalink) |
| References | <5f50f2f4-0e30-4e62-8ce1-6cb843d96432@googlegroups.com> <21a4c938-9355-4718-ada6-4e503ad95c67@googlegroups.com> <XnsA7968006D1E57eejj99@194.109.6.166> <ba235063-491f-4dc7-a87b-5ed4b7f2be28@googlegroups.com> <oi0q4n$9ad$1@dont-email.me> |
Gregor Kofler wrote: > Am 2017-06-16 um 15:36 schrieb Haddock: >> Am Freitag, 16. Juni 2017 12:35:48 UTC+2 schrieb Evertjan.: >>> You do not need a [clientside] js library for that. >>> >>> Use serverside includes to have partly the same code on all your pages, >>> and finetune these with serverside coding. >> I see. Does this mean I need a web server? This is what I would like to >> avoid, because this will make the hosting provider charge much more money >> and what I want to do is just a private homepage and not a big company >> homepage or something ;-). > > You (or your hosting provider) already "have" a web server. What you > need is some server-side scripting language like PHP. If you have a > provider which charges "much more money" when you need basic PHP support > then find another hosting provider who doesn't. If all you know is a hammer, then every problem looks like a nail. They definitely do *not* need server-side scripting on the remote server for this. 1. Server-side Includes (SSI), as suggested, may be supported. For example, they are a feature of the Apache HTTP Server and just need to be enabled. <https://httpd.apache.org/docs/current/howto/ssi.html> 2. If SSI are not supported on the remote host, and cannot be enabled, it is less expensive to use SSI or server-side scripting to generate static HTML documents locally, which are then uploaded, until such time that the funds for SSI or server-side scripting on the remote host are available. 3. To generate the same menu in all the HTML documents using SSI or scripting is not a requirement, but a *convenience*. If all else fails, the menu markup can still be copy-pasted. 4. Depending on the other requirements of the Web site, the same menu in all HTML documents can be generated with client-side scripting as well. That is, nothing is lost if the menu is generated with client-side scripting if the Web site requires client-side scripting. Even Google understands JavaScript (sic) now. -- PointedEars FAQ: <http://PointedEars.de/faq> | <http://PointedEars.de/es-matrix> <https://github.com/PointedEars> | <http://PointedEars.de/wsvn/> Twitter: @PointedEars2 | Please do not cc me./Bitte keine Kopien per E-Mail.
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Looking for JS library that can do hierarchical menus Haddock <ffm2002@web.de> - 2017-06-14 08:34 -0700
Re: Looking for JS library that can do hierarchical menus Maik Koenig <usenetspam@maikkoenig.de> - 2017-06-15 01:31 +0200
Re: Looking for JS library that can do hierarchical menus Cezary Tomczyk <cezary.tomczyk@gmail.com> - 2017-06-15 07:47 +0200
Re: Looking for JS library that can do hierarchical menus Haddock <ffm2002@web.de> - 2017-06-16 00:13 -0700
Re: Looking for JS library that can do hierarchical menus "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2017-06-16 12:35 +0200
Re: Looking for JS library that can do hierarchical menus Tim Streater <timstreater@greenbee.net> - 2017-06-16 11:40 +0100
Re: Looking for JS library that can do hierarchical menus Haddock <ffm2002@web.de> - 2017-06-16 06:36 -0700
Re: Looking for JS library that can do hierarchical menus Gregor Kofler <usenet@gregorkofler.com> - 2017-06-16 16:35 +0200
Re: Looking for JS library that can do hierarchical menus Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2017-06-16 17:03 +0200
Re: Looking for JS library that can do hierarchical menus Mark Lloyd <not@mail.invalid> - 2017-06-16 13:53 -0500
csiph-web