N
none
dorayme said:On what do you base your opinion that many a text editor is unlikely
to do blocks all that well?
Perhaps a rash comment but taking a quick look at kwrite and it prefers
to only replace text one line at a time, rather than a block spanning
multiple lines. Had a look at the Netbeans html editor, same thing. I
could use regular expressions to get it to match newlines. Either way it
is not as simple as I believe you are making out.
Remember, we are talking 12 pages and a very
small menu indeed. A very nice menu, mind you, but very modest in
complexity.
I don't deny it is a simple menu. Let's say I have a my 12 pages (or 11
I think it is) and I decide to add one. With the JS or an include (which
btw my ISP does not support server side scripting) I am able to add one
entry the Navigation.js, get it right there and all pages will be linked
correctly. With copy an paste, I have to open each of the 12 files and
paste in the new link. It's time consuming, and if I want the link in
the middle of a few links there's a chance I will get it wrong on any
one of those.
Well, I won't get into this javascript issue, others have spoken well on
this. Please accept that I came in only because I saw you possibly
chasing after "includes" - which are very good things - while seeming to
be having so much trouble with simple HTML and copy and paste and this
sounded like some cart was getting in front of some horse given you had
12 pages and a very simple list.
I think things have appeared more complex than they are . A couple of
pointers and you will see my page is now valid xhtml and layed out
better, you'll even see the unordered lists in there now - as part of
the JS.
I am biased, I see my view as urging you to walk to the shops that are
about 100 metres away rather than start up the car and risk running out
of petrol, running into the neighbours cat,
I'm not sure that is such a great analogy but . . .
contributing to global
warming, bringing peak-oil closer ... <g>
, I've removed the peak oil counter now, it's a bit controversial for
some people unfortunately.
It's all good though, I'm heading in the right direction and I
appreciate your opinion, just doesn't mean I have to agree with it . I
know I'm largely ignorant on these matters, but I just don't want to
write it 12 times damn it! .