Results 1 to 3 of 3

Thread: Virtual Pagination Script (Print.css nor printing all pages)

  1. #1
    Join Date
    Jun 2008
    Posts
    40
    Thanks
    9
    Thanked 0 Times in 0 Posts

    Question Virtual Pagination Script (Print.css nor printing all pages)

    1) Script Title:
    Virtual Pagination Script

    2) Script URL (on DD):
    http://www.dynamicdrive.com/dynamici...pagination.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

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Make sure your print stylesheet is properly configured to control the print styles. Then:

    Code:
    .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.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Jun 2008
    Posts
    40
    Thanks
    9
    Thanked 0 Times in 0 Posts

    Default

    that did the trick!! thanks a lot.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •