diff --git a/js/jquery.printarea.js b/js/jquery.printarea.js index 9713ea3..78bee82 100644 --- a/js/jquery.printarea.js +++ b/js/jquery.printarea.js @@ -15,6 +15,7 @@ * {OPTIONS} | [type] | (default), values | Explanation * --------- | --------- | ---------------------- | ----------- * @mode | [string] | (iframe),popup | printable window is either iframe or browser popup + * @html | [string] | ('') | attribute for the html balise (like moznomarginboxes mozdisallowselectionprint to remove header and footer on the page) * @popHt | [number] | (500) | popup window height * @popWd | [number] | (400) | popup window width * @popX | [number] | (500) | popup window screen X position @@ -40,6 +41,7 @@ popClose : false, extraCss : '', extraHead : '', + html : '', retainAttr : ["id","class","style"] }; var settings = {};//global settings @@ -77,7 +79,7 @@ }, write : function ( PADocument, $ele ) { PADocument.open(); - PADocument.write( PrintArea.docType() + "" + PrintArea.getHead() + PrintArea.getBody( $ele ) + "" ); + PADocument.write( PrintArea.docType() + "" + PrintArea.getHead() + PrintArea.getBody( $ele ) + "" ); PADocument.close(); }, docType : function() {