PDA

View Full Version : Virtual Pagination Script (Print.css nor printing all pages)



newyorker2
11-14-2008, 06:50 PM
1) Script Title:
Virtual Pagination Script

2) Script URL (on DD):
http://www.dynamicdrive.com/dynamicindex17/virtualpagination.htm

3) Describe problem:

in regular css
.virtualpage, .virtualpage2, .virtualpage3{
/*hide the broken up pieces of contents until script is called. Remove if desired*/
display: none;
}



in print.css

.virtualpage, .virtualpage2, .virtualpage3{
/*hide the broken up pieces of contents until script is called. Remove if desired*/
display: block;
}


but it is only printing the current tab.
how can i makse sure that it prints all of the tabs when user hits print?


thank you

jscheuer1
11-14-2008, 07:43 PM
Make sure your print stylesheet is properly configured to control the print styles. Then:


.virtualpage, .virtualpage2, .virtualpage3{
/*hide the broken up pieces of contents until script is called. Remove if desired*/
display: block!important;
}

This will direct it to override even script assigned styles.

newyorker2
11-14-2008, 08:23 PM
that did the trick!! thanks a lot.