This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Dreamweaver > June 2004 > choose one of two CSS print media files





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author choose one of two CSS print media files
Durwood Edwards

2004-06-10, 7:14 pm

I want to allow a user to select a report format to print from a web page
(each containing different portions of the information diplayed.)
I suppose they will need to be able to apply one of two different CSS print
media files that define the reports.What is the best way to accomplish this?
(javascript?)

Durwood


Jerry McEwen

2004-06-10, 7:14 pm

On Thu, 10 Jun 2004 11:46:20 -0500, "Durwood Edwards"
<durwoode@NOSPAMbellsouth.net> wrote:

>I want to allow a user to select a report format to print from a web page
>(each containing different portions of the information diplayed.)
>I suppose they will need to be able to apply one of two different CSS print
>media files that define the reports.What is the best way to accomplish this?
>(javascript?)
>
>Durwood
>

Maybe "Class Changer" from
http://www.projectseven.com/extensions/index.htm
Jerry McEwen

2004-06-10, 7:14 pm

On Thu, 10 Jun 2004 14:50:39 -0500, "Durwood Edwards"
<durwoode@NOSPAMbellsouth.net> wrote:

>I have found a javascript css style sheet selector on the A List Apart Site
>http://www.alistapart.com/articles/alternate/
>
>I am going to give it a try.
>
>Durwood


Cool, thanks for sharing the link, I'll have a look.

I took my girlfriend to Demo's and she loves it, thanks for that too!
Durwood Edwards

2004-06-10, 7:14 pm

I have found a javascript css style sheet selector on the A List Apart Site
http://www.alistapart.com/articles/alternate/

I am going to give it a try.

Durwood


"Jerry McEwen" <no.m@il.thanks> wrote in message
news:cedhc05msp9lo7dan7e2ovvcpbma85dabm@4ax.com...
> On Thu, 10 Jun 2004 11:46:20 -0500, "Durwood Edwards"
> <durwoode@NOSPAMbellsouth.net> wrote:
>
print[color=darkred]
this?[color=darkred]
> Maybe "Class Changer" from
> http://www.projectseven.com/extensions/index.htm



Durwood Edwards

2004-06-10, 7:14 pm

Good to hear! Well I am trying this JS and I can't get it to functin as
described. Looks promising, but it is still me who is implementing! LOL
Durwood
"Jerry McEwen" <no.m@il.thanks> wrote in message
news:3uehc09vqejl9jbkmongpuo601puoraf7f@4ax.com...
> On Thu, 10 Jun 2004 14:50:39 -0500, "Durwood Edwards"
> <durwoode@NOSPAMbellsouth.net> wrote:
>
Site[color=darkred]
>
> Cool, thanks for sharing the link, I'll have a look.
>
> I took my girlfriend to Demo's and she loves it, thanks for that too!



mzanime.com

2004-06-10, 7:15 pm

AListApart also has this article about building a PHP swapper. If you have PHP
at your disposal you might want to consider using it.

http://www.alistapart.com/articles/phpswitch/

Its nice because its truely reverse compatible, the user doesn't have to have
javascipt turned-on for it to work, and also you only need to add a few lines
of code to your page. I've got it installed on my web site (in my footer) if
you want to see it in action.

Sponsored Links


Copyright 2003 - 2009 forum4designers.com  Software forum  Computer Hardware reviews