Changeset 663 for ether_statistics/web/project/statistics-script.jsp
- Timestamp:
- 11/05/12 18:26:34 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ether_statistics/web/project/statistics-script.jsp
r661 r663 209 209 { 210 210 var printContent = new PrintContent(); 211 printContent.addContent( $( "#title" ).clone() ); 212 printContent.addContent( this.leftTopSlide.getDivContainer().clone().animate( {'marginLeft' : "+=80px"} ) ); 213 printContent.addContent( this.leftMiddleSlide.getDivContainer().clone().animate( {'marginLeft' : "+=80px"} ) ); 214 printContent.addContent( this.leftBottomSlide.getDivContainer().clone().animate( {'marginLeft' : "+=80px"} ) ); 215 printContent.addContent( this.middleSlide.getDivContainer().clone().animate( {'marginLeft' : "+=120px"} ) ); 211 216 printContent.displayPrintPreview(); 212 213 // $( "#containerMiddle" ).printPreview();214 // $( 'a.print-preview' ).printPreview();215 // $("#containerMiddle").jqprint();216 217 // var printContent =$( "#containerMiddle" );218 // var windowUrl = 'about:blank';219 // var windowName = 'Print';220 // var printWindow = window.open( windowUrl, windowName, 'left=50000,top=50000,width=0,height=0' );221 // printWindow.document.write( "slkdfjlsdkfjsdlf" );222 // printWindow.document.close();223 // printWindow.focus();224 // printWindow.print();225 // printWindow.close();226 //227 // TODO export PDF228 217 }, 229 218
Note: See TracChangeset
for help on using the changeset viewer.