jQuery-Shorten icon indicating copy to clipboard operation
jQuery-Shorten copied to clipboard

Remove *Shorten on Print

Open lenichols opened this issue 12 years ago • 2 comments

I am trying to expand shorten on print... what is the best method? So far, hiding the class .shortcontent does not work. What would you suggest? Other han that... great script.

lenichols avatar Sep 05 '13 16:09 lenichols

It seems that there is no cross-browser solution for that: http://stackoverflow.com/a/15713060/546491 In browsers that support text-overflow: ellipsis it would be possible to use a print style sheet that overrides the ellipsis. Shorten is implemented using inline styles, so the print style sheet would have to use the !importantkeyword to be effective.

MarcDiethelm avatar Sep 29 '13 09:09 MarcDiethelm

Pending an official method to expand the text, you can always trigger a click event on the generated tail element.This would only work if you can intercept the print event from your browser

ConnectedReasoning avatar Jun 20 '14 22:06 ConnectedReasoning