You are here: Re: editing mutiple html files « HTML « IT news, forums, messages
Re: editing mutiple html files

Posted by David on 08/03/06 20:37

user wrote:
> I'm hoping someone can help me with this quirky problem.
>
> I'm making a website for my family (it's not online yet), using this great
> java script menu I found a few years ago:
> http://www.destroydrop.com/javascripts/tree/
>
> So here's the problem, the site has ballooned into 270+ HTML files, so if I
> want to edit (add/remove) anything in the menu (not the rest of the HTML
> file) - I have to edit all 270+ HTML files. Now I know a simple PERL script
> would solve this problem, but I'm PERL illiterate.
>
> I use Notepad 90% of the time, but I have FrontPage 2003 and WeBuilder 2006.
>
> Is there any program that would save me hours in copying/pasting all these
> files?
> I defiantly don't want go back to a Framed Design.
>
> Thanx for the help in advance
>
> USER MAN
>
>
make your menu a include file and then in your page just include it
using either .shtml or .php

IE

<?php include("/path/to/mainmenu.inc") ?>

when displayed your menu will appear where the above line was placed
within your web page.

You could also use SSI to do this

 

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

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