Apache::AxKit::StyleChooser::UserAgent - Choose stylesheets based on the user agent.


NAME

Apache::AxKit::StyleChooser::UserAgent - Choose stylesheets based on the user agent.


SYNOPSIS

    In your .conf or .htaccess file(s):

    PerlHandler Apache::AxKit::StyleChooser::UserAgent \
                AxKit
    PerlSetVar AxUAStyleMap "lynx     => Lynx,\
                             explorer => MSIE,\
                             opera    => Opera,\
                             netscape => Mozilla"


DESCRIPTION

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.


AUTHOR

Kip Hampton, khampton@totalcinema.com


SEE ALSO

AxKit.

 Apache::AxKit::StyleChooser::UserAgent - Choose stylesheets based on the user agent.