> From: John <>
> Organization: Posted via Supernews, http://www.supernews.com
> Newsgroups: alt.html
> Date: Tue, 08 Mar 2005 22:22:57 +0000
> Subject: Re: Links the same for all pages?
>
> On Tue, 08 Mar 2005 09:41:04 +1100, A strange species called dorayme
> <> wrote:
>
>>> From: John <>
>>> Organization: Posted via Supernews, http://www.supernews.com
>>> Newsgroups: alt.html
>>> Date: Mon, 07 Mar 2005 00:26:16 +0000
>>> Subject: Links the same for all pages?
>>>
>>> Hello.
>>>
>>> In my site I have a left navigation bar and also one at the top.
>>>
>>> The left one is called <div#Navbar?> the top <div#masthead>.
>>>
>>> I want any changes within these sections to apply to all pages in the
>>> site. Do you know how I set it up to do this because at the moment it
>>> doesn't update on all the pages I have to do it manually.
>>>
>>> I am using Dreamweaver MX 7.01
>>>
>>> TIA
>>>
>>> John
>>>
>>>
>>
>>
>> I would do it by global "search and replace" over all the files in a folder.
>> In other words use powerful built-in "search and replace" facilities in your
>> text editor on your computer. Know nothing about DW but it surely must have
>> some such facilities? In BBEdit one can make global changes to files by
>> using built-in search and replace, including GREP pattern searching. This
>> later is extremely powerful and takes a bit of learning (but it is fun).
>> Then one must update all the relevant files to the server. Please excuse me
>> if you are way ahead on this and already do such but want more!
>
> Yes I use the find and replace a lot. Unfortunately for this though
> the navigation in each of the pages has different text, and quite a
> lot of it, so find and replace would not work all in one go, it would
> be the same as doing it individually in this case because all the text
> to replace is different anyway.
>
> John
Well, it depends on how different everything is. The reason I mentioned GREP
pattern search and replace is that it can handle great variations in text
and still do a job of global replacement. Suppose you have "see the <a
href="some.html">subclasses</a> of this here" on one page and and "see the
<a href="some.html">enclosing class</a> here" on another page. Both go to
the same link. You might be wanting to change the text that appears as a
link in both to something different again, like "see the <a
href="some.html">examples</a> of this here". This sort of thing is possible
with GREP...
An example of a few nav bars that you would want to update would be useful
at this point, I guess...
dorayme