Re: Browser Javascript capabilities

From: Date: Wed, 31 Jul 2002 16:30:45 +0000
Subject: Re: Browser Javascript capabilities
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-110534@lists.php.net to get a copy of this message
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 executes after a second or two. If Javascript is enable, the javascript will direct them to one page, if javascript is not enabled, then the meta refresh will kick off. Or, you can have javascript write a cookie. Then on subsequent pages you could have the server check for the cookie, if it's not there, then they have javascript disabled (or cookies disabled). On Wednesday, July 31, 2002, at 12:12 PM, Dennis Gearon wrote:
Is it possible from the browser requests to tell if it is jscript enabled so that an appropriate page can be sent for en/disabled browsers? -- If You want to buy computer parts, see the reviews at: http://www.cnet.com/ **OR EVEN BETTER COMPILATIONS**!! http://sysopt.earthweb.com/userreviews/products/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php --
Brent Baisley Systems Architect Landover Associates, Inc. Search & Advisory Services for Advanced Technology Environments p: 212.759.6400/800.759.0577

« previous php.general (#110534) next »