Posted by Chris on 07/16/06 13:11
I want to have a printer friendly page. My code is all css based so changing
the media type to 'print' in the style definition does what I want. So I
would like JS that changes:
<link rel="stylesheet" href="Footer.css" media="screen" />
to
<link rel="stylesheet" href="Footer.css" media="print" />
Regards.
"Spartanicus" <invalid@invalid.invalid> wrote in message
news:igekb2hcr12dp1e6p22c31u24k8ejpc2ej@4ax.com...
> "Chris" <nospam@btinternet.com> wrote:
>
>>Does anyone know how to change the media of stylesheet with javscript
>
> What are you actually trying to do?
>
> --
> Spartanicus
Navigation:
[Reply to this message]
|