Re: Loading CSS for AJAX apps.

Tristan Kelley
Thu, 15 Jun 2006 16:19:14 -0000

Maybe just have a seperate style sheet for each module? At the beginning of
each code section you''re calling just include your CSS link:


   @import url(css/style.css);


On 6/15/06, Alex Duffield
<alex-GLL9njBnHiGqPKKiFzS5XxZCeNDtXRbv@public.gmane.org>
wrote:
>
> I am working on an update to my content management system and I am using a
> lot of AJAX to load in the different "Modules"
> I want each module to be self contained, including all its specific js and
> CSS.
>
> Does any one know of a good solution for loading in new CSS to go with the
> code loaded in via the AJAX call?
>
> Thanks.
>
> ______________________________________________________________________
>
> *Alex Duffield* *.* *Principal* *.* *InControl Solutions* *.* *
> http://www.incontrolsolutions.com*
<http://www.incontrolsolutions.com/>