adonthell-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Adonthell-general] website improvement (?)


From: Kai Sterker
Subject: Re: [Adonthell-general] website improvement (?)
Date: Sun, 21 Apr 2002 19:07:15 +0200

On 21 Apr 2002 17:07:22 +0200 Alexandre Courbot wrote:

> Use the javascript, Luke. I'm not at all a js expert, but it seems to
> me that you could make a js function that would
> 1) Open a popup and
> 2) Redirect you to another location (that is, not using HTTP headers,
> but js directly

That was the one in my previous mail. That's not a problem. The problem
is calling the script via CGI. Setting the content type to
text/javascript doesn't work. Opera just opens a download box, and the
saved file contains the few lines of javescript code.

But when using text/html, the browser will execute the script, but also
show a new page which isn't what we want.


> But back on my PHP days I think it was
> possible to get information about the browser. I think it's the same
> for all CGI's. Maybe Google would help there :)

It's the same. Figuring out the user_agent is easy. But is it really
possible to test whether javascript is working/enabled? Well, I'll have
a look.

Kai



reply via email to

[Prev in Thread] Current Thread [Next in Thread]