Reply to Re: Xhtml menu

Your name:

Reply:


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.

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация