views:

164

answers:

2

I am just a designer and don't know javascript well enough to figure out how to print a full content of a JScrollPane, not a visible part of it. I would very much appreciate any help with the issue. Thanks!

+1  A: 

I'd suggest creating a print-stylesheet that contains following rules:

div.jScrollPaneContainer {
   position: static !important;
   height: auto !important;
   overflow: visible !important;
}

div.jScrollPaneContainer > * {
   display: none !important;
}

div.scroll-pane {
   position: static !important;
   display: block !important;
   float: none !important;
}

all selectors used in the code above correspond to HTML structure of jScrollPane basic example

Rafael
Rafael,Perfect. It works. Thank you so much!Best,Irina
Irina
You're welcome. I'm glad I could help.
Rafael
A: 

Or put the entire scrollpane stylesheet inside a @media print { //scrollpane css goess here. }

Bo Petersen