Apache::AxKit::StyleChooser::UserAgent - Choose stylesheets based on the user agent. |
Apache::AxKit::StyleChooser::UserAgent - Choose stylesheets based on the user agent.
In your .conf or .htaccess file(s):
PerlHandler Apache::AxKit::StyleChooser::UserAgent \ AxKit
PerlSetVar AxUAStyleMap "lynx => Lynx,\ explorer => MSIE,\ opera => Opera,\ netscape => Mozilla"
This module sets the internal preferred style based on the user agent string presented by the connecting client.
Remember, use the title attribute in your stylesheet PI to define a matching style.
Kip Hampton, khampton@totalcinema.com
AxKit.
Apache::AxKit::StyleChooser::UserAgent - Choose stylesheets based on the user agent. |