[thelist] Easy changes...

aardvark roselli at earthlink.net
Thu Feb 1 16:34:48 CST 2001


> From: "Mr Sirio" <mrsirio at mail.com>
[...]
> i use to made the graphics (like menu & bars) with MacromediaFireworks4 &
> then i put all together with DreamWeaver4... now i'd like to know if there's
> a way to create some kind o graphics library so if i have to change
> something like a link in the menu ora add a button in the bar every page
> will change as well...

well, you have a number of options available to you...

- you could use include files, so that the navigation bar exists as 
one file which contains the HTML chunk that defines it... then 
include it wherever it needs to be on every page... this way, you 
update the include, all pages get updated... but you need to have 
SSI capability on the site...

- you could use *exactly* the same HTML in every page, and 
possibly some handy comment tags, to make a global search and 
replace... so you massage it one file with your changes, and then 
you search for the old one across all files, and replace with the new 
one... any ol' text editor can do this across multiple files, but you 
could even do it one file at a time with the most basic ones...

- i believe DW has the ability to use templates to achieve a lot of 
this for you... can't help you anymore except to point you to the 
docs...

- in the case of changing images, if all you change is the *image*, 
and not its size or the HTML that contains it, you wouldn't need to 
touch the HTML...





More information about the thelist mailing list