English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

of each of my pages of my site and each of those links lead to a different page on my site (relative links) Is there a way to change the same link on each of the pages at one time, or do I have to change each one by hand?
I am using the NVU editor.

Thanks

2007-02-08 03:30:58 · 4 answers · asked by Lisa 1 in Computers & Internet Programming & Design

4 answers

Yes, there is a way to do this by just editing one file and you can do this with SSI (Server Side Includes), but make sure your hosting company supports this feature.

First you would take all the HTML code for your links (your menu) and cut and paste it into Notepad and save it as a text file. For example, take this simple menu, save it as "mymenu.txt" (for an example, without the quotes):



Also note, that for any formatting for the links, such as fonts, margins, padding, etc., you would need to use your CSS (a Cascading Style Sheet) for this. Thus, I put

If the pages were created with the links written into each one you probably will have to edit that way. I'm unfamiliar with the NVU editor, but if there's a find and replace function that will search multiple documents..that might work.

This probably won't help with your current question, but a better way is to redesign the pages using a Master Page/ content page setup. The Master contains the links down the side and the headers/footers. The content pages are the individual pages that fill the rest of the space. If you had the Master Page then there would only be one link to change.

2007-02-08 11:41:30 · answer #2 · answered by rod 6 · 0 0

Depends on how the links were created. If you went in and hand coded the column oh each of the pages, then you would have to go in and hand correct each page. If you used a frame, CSS, or other method to get all the pages to read the information from one central location, then you would only have to update the one location. It may be possible to use a "find and replace" to speed the changing of the links if you coded them by hand.

2007-02-08 11:36:04 · answer #3 · answered by dewcoons 7 · 0 0

I don't know a thing about NVU Editor, however, in FrontPage and Dreamweaver you can either use a template or perform a "find and replace" to change the source code on all pages.

2007-02-08 11:35:57 · answer #4 · answered by AngeloPC.net 2 · 0 0

fedest.com, questions and answers