![]() |
Multiple HTML file editing?
Hi!
I did a big mistake and the way I have set up my site is pretty bad. Each page is individually coded with the links, so if i wanted to add a new link to the menu I would have to manually go to Dreamweaver and edit the javascript lines etc. of each HTML page so that they are all up to date. Is there any software or something that can mass edit my HTML files so i can insert new lines of code into each in the right place automatically? Thanks! ^^; |
If you are using Dreamweaver, just create a new Library item that contains your menu and drop it into all your pages where the menu belongs. That way, you can just edit the library item and tell it to update all pages which depend upon it without you doing anything.
|
Since you use Dreamweaver, just do the following. Open EVERY page that has the change, then use the piece just before or after the change and use find/replace all.
For example... Code:
<a href="http://link1.html">link1</a>Code:
<a href="http://link1.html">link1</a>If this doesn't work like I recall, you CAN do it for certain with a tabbed notepad editor like Editpad. |
If that's how you do your webpage, I will honestly recommend you look into server-side includes.
Not really hard, and they'll save you a ton of time when it comes to editing stuff that's shared between many pages. |
| All times are GMT -5. The time now is 07:52 AM. |
Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2026, vBulletin Solutions, Inc.