473,473 Members | 1,512 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

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

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
1 1821
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: John | last post by:
Could anyone please help me on this?? I have a php script page, which is basically quiz. Visitors (after login in with their email address) are supposed to answer each question, and when they...
16
by: gb | last post by:
Hi All, Ive created a popup page using 'var openWindow = window.open("new","pop")' And added content using openWindow.document.write(" "); statements. But now I would like to be able to print...
9
by: Jody Gelowitz | last post by:
I am trying to find the definition of "Safe Printing" and cannot find out exactly what this entitles. The reason is that I am trying to print contents from a single textbox to no avail using the...
2
by: Imre Palik | last post by:
Hi, I am trying to create a framework, that automatically generates a base class for the visitor pattern: template <typename param, typename ret = void> struct visitor { typedef ret...
0
by: Ronald S. Cook | last post by:
I'd like to capture basic data about a visitor to my web page. I assume I will use the Request object, but which properties should I be looking at? Request.Browser? Request.Url?...
6
by: Siv | last post by:
Hi, I am getting into printing with VB.NET 2005 and want to implement the usual capability that a user can select a selection of pages. I have a report that is generated by my application that if...
11
by: frizzle | last post by:
Hi there, I need a function to prevent a page from being loaded too often too fast. So say, one is only allowed to refresh a single page 5 times in 10 seconds, or 10 times in 5 seconds (or...
18
by: Brett | last post by:
I have an ASP.NET page that displays work orders in a GridView. In that GridView is a checkbox column. When the user clicks a "Print" button, I create a report, using the .NET Framework printing...
16
by: naveenkongati | last post by:
hi, Please have a look at the following jsp page code , when this page gets loaded "null" is being printed. Please suggest me where i am doing wrong. Servlet code is also added for more details. ...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.