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

Posted by Bernhard Sturm on 08/11/07 07:39

dorayme wrote:

>
> True about the roads and an interesting point about editing. I am
> not quite sure about the point re Dreamweaver though? If one has
>
> <div id="nav">
>
> include command
>
> </div>
>
> This is a container road, right?
>

yes. that's the road I usually take :-)
assuming you would have such a construct in the main file:

<div id="content-container">
dynamically include content depending on menu context
</div>

the include file would then simply look like this:

<h2>Content only</h2>
<p>Paragraph with content</p>

This is much easier to maintain by someone who uses dreamweaver (or a
very simple WYSIWYG-editor) and who is only editing the content
includes. He or she will only see pure content markup no (probably)
confusing div holding it together as all containers are located in a
single file (the main file) and not distributed in various other content
files which makes my life as a webdesigner easier :-)

cheers
bernhard

--
www.daszeichen.ch
remove nixspam to reply

 

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

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