You can of course make a form that people can't find on your page without first clicking a link using JavaScript and perhaps even a lightbox script but since you need a varsion that works without that for the 10% of visitors without JavaScript and since you still need to authenticate the login server side the server side only solution is the better option.

If you use an AJAX foundation like jQuery or DojoToolkit you can actually authenticate within the lightbox. Both foundations support the lightbox and asynchronous queries. An easier solution may be just to use a drop down login box like Twitter and Digg uses.

So you can perform miracles and enable blind people to see can you? if not then in what way is it that you expect them to grow up?

Also how do you propose to perform the miracle of getting the JavaScript to run on devices that don't have a browser that supports it? Presumably you can perform the miracle of making all those older mobile phones grow up into more modern ones?

There are lots of reasons why people don't have JavaScript enabled.Some people even have it disabled so as to bypass annoying scripts that hide essential info such as login forms.

Felgall, you make alot of true points:1. Yes alot of people do have older phones that dont support javascript.2. There are alot of people who have javascript turned off for personal reasons.

But they are neither here nor there, the solution I presented degrades gracefully when javascript isn't present on the browser as mentioned in my post. As you can see the click that has the javascript event bound to it is an href. Thus if there is no javascript bound to it, the user is taken to the login.php page.

As to your personal questions to me about my views on javascript and what people should do? I'd be more than glad to answer them in a more appropriate venue, private messages.