Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > Links the same for all pages?

Reply
Thread Tools

Links the same for all pages?

 
 
dorayme
Guest
Posts: n/a
 
      03-09-2005
> 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


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Update to FAQ - Relative URLs for In-page Links and Links to Notes Garrett Smith Javascript 14 05-26-2009 04:50 PM
FF Crashes on Links within Links Puma Firefox 10 02-17-2009 07:12 PM
Make A Shorter Link - no new links accepted, old links still work. why? Computer Support 7 01-02-2007 09:45 PM
Site Links and Physical WAN Links =?Utf-8?B?RW5mb1BhdWw=?= MCSE 2 03-22-2005 09:23 AM
Exchange Links < Western Cartoon Cards > Exchange Links www.westerncartooncards.ca HTML 2 07-12-2004 07:59 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57