Re: [PHP] Javascript detection , working version

2007-01-13 Thread Casey Chu
That book is so cool! =P Anyways, it said that browsers with Javascript, but not a recent enough Javascript would not display the Noscript. On 1/13/07, tedd <[EMAIL PROTECTED]> wrote: At 9:32 PM -0800 1/11/07, Jürgen Wind wrote: >tedd wrote: >>index.php, jstest110.php) , make it one. >ok >---8<

Re: [PHP] Javascript detection , working version

2007-01-13 Thread tedd
At 9:32 PM -0800 1/11/07, Jürgen Wind wrote: tedd wrote: index.php, jstest110.php) , make it one. ok ---8<--- It would be cool if I could send js value via a POST instead of GET-- can that be done? have a look http://149.222.235.16/jstest/70112/index.php ( POST version ) tedd PS: I read

Re: [PHP] Javascript detection , working version

2007-01-12 Thread Jürgen Wind
Ruben Rubio Rey wrote: > > A good way to detect if javascript exists is (cross-browser, > cross-platform): > > You try to load javascript_exists.htm. > > - > javascript_exists.htm: > > > > > ... > Javascript is actived!! > > >

Re: [PHP] Javascript detection , working version

2007-01-12 Thread Jürgen Wind
Ruben Rubio Rey wrote: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > A good way to detect if javascript exists is (cross-browser, > cross-platform): > > You try to load javascript_exists.htm. > > - > javascript_exists.htm

Re: [PHP] Javascript detection , working version

2007-01-11 Thread Ruben Rubio
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 A good way to detect if javascript exists is (cross-browser, cross-platform): You try to load javascript_exists.htm. - javascript_exists.htm: ... Javascript is actived!! - --

Re: [PHP] Javascript detection , working version

2007-01-11 Thread Jürgen Wind
tedd wrote: >index.php, jstest110.php) , make it one. ok ---8<--- >It would be cool if I could send js value via a >POST instead of GET-- can that be done? have a look http://149.222.235.16/jstest/70112/index.php ( POST version ) >tedd >PS: I read somewhere that using is not recommended. any i

Re: [PHP] Javascript detection , working version

2007-01-10 Thread Jürgen Wind
>index.php, jstest110.php) , make it one. no, it was just a proof of concept >It would be cool if I could send js value via a >POST instead of GET-- can that be done? should be possible with some onload/xhtmlrequest >tedd >PS: I read somewhere that using is not recommended. hmm, any links or

Re: [PHP] Javascript detection , working version

2007-01-10 Thread tedd
At 4:54 AM -0800 1/10/07, Jürgen Wind wrote: 8< [source of index] Nice -- now instead of two different pages (i.e., index.php, jstest110.php) , make it one. Here's my solution: echo("type='text/javascript'>location.href='index.ph

Re: [PHP] Javascript detection , working version

Curt Zirzow-2 wrote: > > On 1/1/07, Jürgen Wind <[EMAIL PROTECTED]> wrote: >> >> well, >> no cute css, but (hopefully) working - here is my quick & dirty version : >> >> http://149.222.235.16/public/ > > I dont understand the point. > > Curt, > sorry, i should have posted the original code (

Re: [PHP] Javascript detection , working version

On 1/1/07, Jürgen Wind <[EMAIL PROTECTED]> wrote: well, no cute css, but (hopefully) working - here is my quick & dirty version : http://149.222.235.16/public/ I dont understand the point. Curt, -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsu

Re: [PHP] Javascript detection , working version

From: "Robert Cummings" <[EMAIL PROTECTED]> >>To: "Jürgen Wind" <[EMAIL PROTECTED]> >>Cc: >>Sent: Tuesday, January 02, 2007 8:57 PM >>Subject: Re: [PHP] Javascript detection , working version >> >>>On Tue, 2007-01-02 at 11:32 -0

Re: [PHP] Javascript detection , working version

At 9:55 PM +0100 1/2/07, Satyam wrote: - Original Message - From: "Robert Cummings" <[EMAIL PROTECTED]> To: "Jürgen Wind" <[EMAIL PROTECTED]> Cc: Sent: Tuesday, January 02, 2007 8:57 PM Subject: Re: [PHP] Javascript detection , working version On Tue, 2

Re: [PHP] Javascript detection , working version

that's why i prefer discussing here in the forum, we benefit from the experiences of each other :) updated version: http://149.222.235.16/jstest/ -- View this message in context: http://www.nabble.com/Javascript-detection-tf2905451.html#a8132203 Sent from the PHP - General mailing list archive a

Re: [PHP] Javascript detection , working version

Robert Cummings wrote: > > Out of curiosity, can you guarantee the Javascript redirect will always > occur before the meta redirect when Javascript is enabled? Otherwise you > have a race condition. > > Cheers, > Rob. > yes, you where right (i noticed some problems with opera) updated version

Re: [PHP] Javascript detection , working version

Satyam wrote: > > > What I usually do is to make the entry page the one that would be used > without JavaScript and branch only if JavaScript is present. > > Satyam > yes, that's the best solution, updated version: http://149.222.235.16/jstest/ -- View this message in context: http://www

Re: [PHP] Javascript detection , working version

- Original Message - From: "Robert Cummings" <[EMAIL PROTECTED]> What I usually do is to make the entry page the one that would be used without JavaScript and branch only if JavaScript is present. Yeah, that was what I did :) Cheers, Rob. -- Sorry, it seems I missed it. Satyam

Re: [PHP] Javascript detection , working version

At 3:39 PM -0500 1/2/07, Robert Cummings wrote: On Tue, 2007-01-02 at 15:24 -0500, tedd wrote: Rob: That's a good point -- even if a delay was added it's not certain that it wouldn't experience a race issue. And the longer the delay, the more problems you have with the user experience. P

Re: [PHP] Javascript detection , working version

On Tue, 2007-01-02 at 21:55 +0100, Satyam wrote: > - Original Message - > From: "Robert Cummings" <[EMAIL PROTECTED]> > To: "Jürgen Wind" <[EMAIL PROTECTED]> > Cc: > Sent: Tuesday, January 02, 2007 8:57 PM > Subject: Re: [PHP] Javascript

Re: [PHP] Javascript detection , working version

- Original Message - From: "Robert Cummings" <[EMAIL PROTECTED]> To: "Jürgen Wind" <[EMAIL PROTECTED]> Cc: Sent: Tuesday, January 02, 2007 8:57 PM Subject: Re: [PHP] Javascript detection , working version On Tue, 2007-01-02 at 11:32 -0800, Jürgen Wi

Re: [PHP] Javascript detection , working version

On Tue, 2007-01-02 at 15:24 -0500, tedd wrote: > Rob: > > That's a good point -- even if a delay was added > it's not certain that it wouldn't experience a > race issue. And the longer the delay, the more > problems you have with the user experience. > > Perhaps a token scheme, like prohibitin

Re: [PHP] Javascript detection , working version

At 2:06 PM -0500 1/2/07, Robert Cummings wrote: On Tue, 2007-01-02 at 10:06 -0800, Jürgen Wind wrote: tedd, plz no personal mail, i like better to discuss things in the forum and thus hear other meanings and experiences. >Your solution was very simple and worked very well. tx, i always try

Re: [PHP] Javascript detection , working version

On Tue, 2007-01-02 at 11:32 -0800, Jürgen Wind wrote: > Robert Cummings wrote: > > > > Out of curiosity, can you guarantee the Javascript redirect will always > > occur before the meta redirect when Javascript is enabled? Otherwise you > > have a race condition. > > > > Cheers, > > Rob. > > > i

Re: [PHP] Javascript detection , working version

Robert Cummings wrote: > > Out of curiosity, can you guarantee the Javascript redirect will always > occur before the meta redirect when Javascript is enabled? Otherwise you > have a race condition. > > Cheers, > Rob. > i have no idea, it is just a quick&dirty hack, i'm no js expert ;) the j

Re: [PHP] Javascript detection , working version

On Tue, 2007-01-02 at 10:06 -0800, Jürgen Wind wrote: > tedd, plz no personal mail, i like better to discuss things in the forum and > thus hear other meanings and experiences. > >Your solution was very simple and worked very well. > tx, i always try to keep things logical and as simple as possibl

Re: [PHP] Javascript detection , working version

tedd, plz no personal mail, i like better to discuss things in the forum and thus hear other meanings and experiences. >Your solution was very simple and worked very well. tx, i always try to keep things logical and as simple as possible ;) this is just a quick example to show how to bring info g

Re: [PHP] Javascript detection , working version

At 4:54 PM -0800 1/1/07, =?UTF-8?Q?J=C3=BCrgen_Wind?= wrote: well, no cute css, but (hopefully) working - here is my quick & dirty version : http://149.222.235.16/public/ -- Well, it's cute enough for me ! It works on every browser that BrowserCam has -- hell, I can't even get my web site t

Re: [PHP] Javascript detection , working version

well, no cute css, but (hopefully) working - here is my quick & dirty version : http://149.222.235.16/public/ -- View this message in context: http://www.nabble.com/Javascript-detection-tf2905451.html#a8118787 Sent from the PHP - General mailing list archive at Nabble.com. -- PHP General Mai