You are here: Re: integrating/calling multiple files into one « HTML « IT news, forums, messages
Re: integrating/calling multiple files into one

Posted by Bone Ur on 11/01/07 20:51

Well bust mah britches and call me cheeky, on Thu, 01 Nov 2007 20:19:15 GMT
Daniel scribed:

> Hello,
>
> Typically, I have create simple html webpages from start to finish,
> everything in one html document.
>
> I am now creating more complexe pages, and wish to compartmentalize
> certain aspects. For example, the nav bar get generated by a separate
> program which generate and html file, css, js.... I then call it
> within my main doc. However, by doing so I end up with duplication of
> head section, body.... and I assume this is not proper. The other
> alternative is to copy and paste the various element of the nav bar
> (styles, scripts, html) and the paste them in their respective zones.
> this however, is very conterproductive as when a change need to be
> made I must manually update each webpage (long and prone to errors).
>
> What is the proper approach to doing this type of referencing multiple
> docs into one.
>
> Thank you for your experience and guidance,

The best thing to do is use server-side scripting such as php. SSIs are
also an option. Scripting allows you to variablize and include sections of
text, html, etc.

--
Bone Ur
Cavemen have formidable pheromones.

 

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

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