Re: [PHP] php selecting multiple stylesheets

2010-02-08 Thread Ashley Sheridan
On Sun, 2010-02-07 at 23:45 -0500, Paul M Foster wrote: On Sun, Feb 07, 2010 at 11:20:18PM -0500, David Mehler wrote: Hello, I'm trying to set up a web site. This site has multiple stylesheets, one default stylesheet that should be used if the other is not chosen. The second is a high

Re: [PHP] php selecting multiple stylesheets

2010-02-08 Thread Stephan Ebelt
On Sun, Feb 07, 2010 at 11:20:18PM -0500, David Mehler wrote: Hello, I'm trying to set up a web site. This site has multiple stylesheets, one default stylesheet that should be used if the other is not chosen. The second is a high contrast stylesheet and can be selected by user's who need it.

Re: [PHP] php selecting multiple stylesheets

2010-02-08 Thread Ashley Sheridan
On Mon, 2010-02-08 at 11:18 +0100, Stephan Ebelt wrote: On Sun, Feb 07, 2010 at 11:20:18PM -0500, David Mehler wrote: Hello, I'm trying to set up a web site. This site has multiple stylesheets, one default stylesheet that should be used if the other is not chosen. The second is a high

Re: [PHP] php selecting multiple stylesheets

2010-02-08 Thread Michael A. Peters
TG wrote: You could use PHP and cookies (session variables are only useful until the browser is closed, so it's not as persistant as it sounds like you may want). Persistent sessions are possible. The way I'm doing it in the CMS I am working on is via GET which saves selection in session.

Re: [PHP] php selecting multiple stylesheets

2010-02-08 Thread tedd
At 11:20 PM -0500 2/7/10, David Mehler wrote: Hello, I'm trying to set up a web site. This site has multiple stylesheets, one default stylesheet that should be used if the other is not chosen. The second is a high contrast stylesheet and can be selected by user's who need it. I'm also thinking

Re: [PHP] php selecting multiple stylesheets

2010-02-08 Thread Ashley Sheridan
On Mon, 2010-02-08 at 10:00 -0500, tedd wrote: At 11:20 PM -0500 2/7/10, David Mehler wrote: Hello, I'm trying to set up a web site. This site has multiple stylesheets, one default stylesheet that should be used if the other is not chosen. The second is a high contrast stylesheet and can be

Re: [PHP] php selecting multiple stylesheets

2010-02-08 Thread Michael A. Peters
Ashley Sheridan wrote: There is a good reason for having different stylesheets that use differing colour systems. For example, some people with learning difficulties benefit from yellow text on blue backgrounds, as apparently those colours together are better at capturing a users attention

Re: [PHP] php selecting multiple stylesheets

2010-02-08 Thread Stephan Ebelt
On Mon, Feb 08, 2010 at 10:22:07AM +, Ashley Sheridan wrote: [...] in CSS there is also the concept of 'alternate stylesheets' build in. A page can basically specify as many stylesheets as it wants where one is default and all others are 'alternate'. The browser will then offer menu

Re: [PHP] php selecting multiple stylesheets

2010-02-08 Thread David Mehler
Hello Everyone, Thank you for the various positions and suggestions. I'm going for either cookies or sessions, your examples have given me much to check. For this situation I should probably have mentioned I need to keep this as simple as possible, so features like a user login

[PHP] php selecting multiple stylesheets

2010-02-07 Thread David Mehler
Hello, I'm trying to set up a web site. This site has multiple stylesheets, one default stylesheet that should be used if the other is not chosen. The second is a high contrast stylesheet and can be selected by user's who need it. I'm also thinking of adding two more for smaller and larger font

Re: [PHP] php selecting multiple stylesheets

2010-02-07 Thread Paul M Foster
On Sun, Feb 07, 2010 at 11:20:18PM -0500, David Mehler wrote: Hello, I'm trying to set up a web site. This site has multiple stylesheets, one default stylesheet that should be used if the other is not chosen. The second is a high contrast stylesheet and can be selected by user's who need it.

Re: [PHP] php selecting multiple stylesheets

2010-02-07 Thread TG
list but I think a client side script may work better in this case. -TG - Original Message - From: David Mehler dave.meh...@gmail.com To: php-general@lists.php.net Date: Sun, 7 Feb 2010 23:20:18 -0500 Subject: [PHP] php selecting multiple stylesheets Hello, I'm trying to set up a web site