|
Posted by Andy Dingley on 08/02/05 04:09
On Mon, 1 Aug 2005 12:04:45 -0700, Neredbojias
<neredbojias@neredbojias.com> wrote:
>Even though I disagree with your last statement (below), this is the way
>I do it. Why?
>> This is not an appropriate task for JavaScript or PHP.
So in what way is JavaScript useful here ? Unless you're running
ASP/JScript, then I assume you're loading a shared external .js file
with <script src="foo.js" > and having that execute when the page
loads, then using document.write() to generate the menu. This of course
fails when JS is unavailable.
And document.write() is itself the wrong way to modify the DOM
>Because it's faster and more reliable for the client.
In what way is it "faster" or "more reliable"? It's worse on both
counts.
Navigation:
[Reply to this message]
|