You are here: Re: Are HTML frames good? « HTML « IT news, forums, messages
Re: Are HTML frames good?

Posted by Els on 07/12/06 16:34

Water Cooler v2 wrote:

> Now, a different question. Just for exploring all different
> alternatives and possibilities.
>
> Suppose that the navigation bar is something I want to place on every
> Web page over my website. And I want the content of the navigation bar
> also to be constant. I can then design a separate HTML page that
> carries the code for the navigation bar.
>
> If my understanding is correct, some CGI/ISAPI filters such as ASP/PHP
> provide for server side includes. Using the server side includes, the
> programmer can point to the content of the HTML/PHP/ASP/CGI file
> containing the navigation bar code into every Web page that needs the
> navigation bar.
>
> But those includes, if I understand correctly, are not built into a Web
> server. They're extensions provided by ISAPI or whatever other web
> server API. So, they're accessible only when you are doing server-side
> programming such as ASP/PHP etc.

I'm not familiar with API or ISAPI, but I just use includes in PHP.
However, if your server doesn't have PHP installed... :

> In plain HTML, using only HTML and nothing but HTML (or may be some
> lite JavaScript), is it possible to include content from another HTML
> page into the current page?

Nope.
You could pre-process though, as explained in the link I gave:
http://allmyfaqs.net/faq.pl?Include_one_file_in_another

That way you do all the including at home, and voila, the result is an
entire website with navigation on every page.

> I hope I've made my question clear.

Yup - except for that (IS)API stuff, but I don't think I needed to
understand that ;-)

BTW - are you sure your server doesn't have PHP installed or SSI
enabled?

(f-up to alt.html again)

--
Els http://locusmeus.com/

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация