Posted by dorayme on 08/10/07 03:07
In article
<BEPui.27243$ax1.7107@bgtnsc05-news.ops.worldnet.att.net>,
"Beauregard T. Shagnasty" <a.nony.mous@example.invalid> 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.
--
dorayme
Navigation:
[Reply to this message]
|