two options to print a page

G

geotso

Hi

I have a large page, divided in three sub-topics.
I also have two external stylesheets, each one giving different printing
option, like this:
1. fullprint.css to print the whole page
2. topicprint.css to print each sub-topic in its own page (where each
sub-topic has the page-break-before attribute applied).

Well, I want to add two text links into the page, "print all" and "print
topic", activating each one the corresponding stylesheet.

Is there a javascript for this?
(Please, take it easy, because I don't know very much about javascript) :)
Thanks.

____________________
Merlin dying, to the Lady of the Lake:
"we lived our lives with passion and devotion"

-=- geotso -=-
(remove the TRAP to contact me)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,682
Members
48,796
Latest member
Greg L.

Latest Threads

Top