|
||
|
|
|||||||
| Welcome to the Exploding Garrmondo Weiner Interactive Swiss Army Penis. |
|
GFF is a community of gaming and music enthusiasts. We have a team of dedicated moderators, constant member-organized activities, and plenty of custom features, including our unique journal system. If this is your first visit, be sure to check out the FAQ or our GFWiki. You will have to register before you can post. Membership is completely free (and gets rid of the pesky advertisement unit underneath this message).
|
![]() |
|
|
Thread Tools |
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! ^^; How ya doing, buddy? |
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.
How ya doing, buddy? |
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> <a href="http://link2.html">link2</a> If this doesn't work like I recall, you CAN do it for certain with a tabbed notepad editor like Editpad. This thing is sticky, and I don't like it. I don't appreciate it. |
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. I am a dolphin, do you want me on your body? |