![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
All I really want to do is have a method whereby I can change parts of the common text and it changes on all the pages. |
#3
| |||
| |||
|
|
All I really want to do is have a method whereby I can change parts of the common text and it changes on all the pages. I had thought of an alternative of using an image but it then doesn't allow me to change the attributes using my style sheet. (snip) I cannot use any server side due to the environment - i.e. it CANNOT be used. (snip) I did post a message about 'including' common code in HTML - no joy unless I use a package but I cannot do that either. (snip) |
#4
| |||
| |||
|
#5
| |||
| |||
|
|
As for a search and replace, I think you misunderstand... I have 10 or so pages that have common script. The whole point is to avoid loading in each one and doing a search and replace if I wanted to do that I would just write once and paste 9 times |
#6
| |||
| |||
|
|
An editor with a good S&R function offers directory wide S&R with an option to include subdirs, no need to open any files. The power of a really good S&R function is something most people apparently cannot imagine if they don't have an editor that offers it (few do). -- Spartanicus I understand what you are saying for a directory wide search and |
#7
| |||
| |||
|
|
An editor with a good S&R function offers directory wide S&R with an option to include subdirs, no need to open any files. The power of a really good S&R function is something most people apparently cannot imagine if they don't have an editor that offers it (few do). I understand what you are saying for a directory wide search and replace but that would still mean having duplicate data everywhere. That seems to defeat the general principle in computing of reuse. |
|
Not trying to get into an argument but everything else seems able to reuse boiler plate or similar e.g. resuse of stored procedures in databases, ability to access external spreadsheets in Excel in fact almost everything I can thinnk of except html |
![]() |
| Thread Tools | |
| Display Modes | |
| |