RE: [PHP] Browser Javascript capabilities

2002-07-31 Thread Matt Babineau
Boget [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 31, 2002 12:36 PM To: Matt Babineau; [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: [PHP] Browser Javascript capabilities > Pardon my ignorance, but wouldn't this immediately send the browser onto the next page before it had the opp

Re: [PHP] Browser Javascript capabilities

2002-07-31 Thread Chris Boget
> Pardon my ignorance, but wouldn't this immediately send the browser onto the next page before it had the opportunity to get to and run this: > > location.href='newpage.php?jscript=on'; > ? If that's the case, wouldn't you want to delay the refresh by a few seconds to allow the javascript

Re: [PHP] Browser Javascript capabilities

2002-07-31 Thread Brent Baisley
You can't tell from the server side, but you can have a page send them to a different page depending on whether or not Javascript is enable. You could have a temp page with a Javascript redirect that is kicked off with an onLoad event handler and also have a meta refresh on the same page the ex

RE: [PHP] Browser Javascript capabilities

2002-07-31 Thread Matt Babineau
You could use a dummy page, with location.href='newpage.php?jscript=on'; What this should do is redirect if javascript is enabled or disabled giving you a URL variable to parse. I have not tested it but theorectically could work. Matt Babineau MCWD / CCFD ---