jeffreyhi1 / jscrollpane

Automatically exported from code.google.com/p/jscrollpane
0 stars 0 forks source link

Investigate a way of making jScrollPanes print nicely #7

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
See: http://plugins.jquery.com/node/2414

Original issue reported on code.google.com by kelvin.l...@gmail.com on 7 Nov 2008 at 6:57

GoogleCodeExporter commented 9 years ago

Original comment by kelvin.l...@gmail.com on 7 Nov 2008 at 6:58

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[in response to deleted comment]

You could try including a print stylesheet with a style which set the width and
height of .jScrollPaneContainer to auto...

Original comment by kelvin.l...@gmail.com on 14 Mar 2009 at 5:43

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Kelvin,
Setting the width and height of .jScrollPaneContainer to auto in a print 
stylesheet 
doesn't work - still prints visible jscrollpane part, only. Any other ideas?
Thanks! 

Original comment by ku...@mindspring.com on 3 Apr 2010 at 10:36

GoogleCodeExporter commented 9 years ago
You could also try setting overflow to auto in the print stylesheet - that may 
help?

Original comment by kelvin.l...@gmail.com on 4 Apr 2010 at 5:20

GoogleCodeExporter commented 9 years ago
No, it doesn't help, either. It still prints only a visible jscrollpane part. 
Any 
more ideas?
Thanks! 

Original comment by ku...@mindspring.com on 5 Apr 2010 at 11:38

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I put together an example of a print stylesheet which allows the content of the 
scrollpane to be seen on the printout - you can view it here:

http://www.kelvinluck.com/assets/jquery/jScrollPane/basic_print.html

Hope it helps,

Kelvin :)

Original comment by kelvin.l...@gmail.com on 21 Jun 2010 at 2:36

GoogleCodeExporter commented 9 years ago
Thanks Kelvin,

.jScrollPaneContainer {
    position: relative;
    overflow: visible;
    height: auto !important;
    z-index: 1;
}

.jScrollPaneContainer>*
{
    position: relative !important;
}

.jScrollCap,
.jScrollPaneTrack,
a.jScrollArrowUp,
a.jScrollArrowDown
{
    display: none;
}

in print.css did the trick

Original comment by roland.p...@gmail.com on 8 Jul 2010 at 10:03

GoogleCodeExporter commented 9 years ago
I have just announced the beta of a completely rewritten version of jScrollPane:

http://groups.google.com/group/jscrollpane/browse_thread/thread/c1bc1bf63e3f80d8

Please test and reply on the list if you are still having this issue,

Thanks,

Kelvin

Original comment by kelvin.l...@gmail.com on 17 Aug 2010 at 3:54