You are here: Re: Same Menu On Every Page « HTML « IT news, forums, messages
Re: Same Menu On Every Page

Posted by dorayme on 08/10/07 04:45

In article
<nDRui.27382$ax1.9815@bgtnsc05-news.ops.worldnet.att.net>,
"Beauregard T. Shagnasty" <a.nony.mous@example.invalid> wrote:

> dorayme wrote:
>
> > "Beauregard T. Shagnasty" wrote:
> >> Matt White wrote:
> >>> I am creating a page with 2 <div>'s - one is a menu and one holds
> >>> the page content. The menu is the same on every page. What is the
> >>> best way to get the HTML for the menu on every page without putting
> >>> the full source on every page? I'd rather have a separate menu.html
> >>> file that gets loaded into the menu <div> when each page loads.
> >>> Thanks.
> >>
> >> http://allmyfaqs.net/faq.pl?Include_one_file_in_another
> >
> > I sometimes wonder what other folks do in regard to the includes, do
> > they put in all the enclosing element markup within the include or
> > leave the container explicit in the html file to remind the author
> > how the include goes. I tend to go the greedy route and put all in
> > the include. This is to show high wire courage in the face of a
> > creeping dementia.
>
> I place everything in the include file that goes with that object. Can't
> see any reason to have to remember to add containers or whatever to the
> main file. Just add the 'include' line.

In that case I am in good company - never mind that I do it with
attitude whereas you do it with plain and calm reason. <g>

--
dorayme

 

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

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