By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,723 Members | 1,655 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,723 IT Pros & Developers. It's quick & easy.

Printing a part of a page, according to a visitor's request

P: n/a
Hi.

I know I can link a media stylesheet to a page, to prevent some elements
from printing, but I need something more, according the following scenario:

A page contains a topic, divided into two or three sub-topics. At the top of
the page I put an image, and when a visitor clicks it a hidden layer popups
containing a form with four radiobuttons and two buttons:
radio1: print sub-topic1
radio2: print sub-topic2
radio3: print all
OK button: proceed with printing
Cancel button: hide the layer without printing

I know how to show/hide a layer and how to insert a radio group using
Dreamweaver, but I don't know what the action of the form could be, nor the
structure of the stylesheet, if this could be done with stylesheets at all!

Is there another suggestion on how to accomplish this?
Can someone help me please?
____________________________
geotso's stories
Be thou attentive!...

(Please, remove the TRAP to contact me)
Jul 20 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
geotso wrote:
Hi.

I know I can link a media stylesheet to a page, to prevent some elements
from printing, but I need something more, according the following scenario:

A page contains a topic, divided into two or three sub-topics. At the top of
the page I put an image, and when a visitor clicks it a hidden layer popups
containing a form with four radiobuttons and two buttons:
radio1: print sub-topic1
radio2: print sub-topic2
radio3: print all
OK button: proceed with printing
Cancel button: hide the layer without printing

I know how to show/hide a layer and how to insert a radio group using
Dreamweaver, but I don't know what the action of the form could be, nor the
structure of the stylesheet, if this could be done with stylesheets at all!

Is there another suggestion on how to accomplish this?
Can someone help me please?


You could make different print style sheets. And set the selected one to
'active' with a bit of JS.
--
Anne van Kesteren
<http://www.annevankesteren.nl/>
Jul 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.