On 23/02/07, Benjamin Sterling <[EMAIL PROTECTED]> wrote:
> well, you can append to the head, example:
> http://ov-staging.informationexperts.com/e.htm
>
> <script type="text/javascript">
> $(document).ready(function(){
> $('head').append('<style>body{background:#000;}</style>');
> });
> </script>
>
> This does not work in the IEs tho (6, 7), but I am sure something like that
> is possible with some tweak.  It does work in opera 9 and ff2
>
>
> --
> Benjamin Sterling
> http://www.KenzoMedia.com
> http://www.KenzoHosting.com

I have a function that does that (although it has not been tested in Opera 9):
http://webdevel.blogspot.com/2006/06/create-css-class-javascript.html

_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to