Ignore:
Timestamp:
Feb 18, 2013, 9:54:47 AM (7 years ago)
Author:
Nicklas Nordborg
Message:

References #462: Implement a print function that can print complete pages

Implemented a javascript function that opens a popup window and copies the content of a specified html tag (given by the id) to the popup window.

openPrintWindow(ID, printElementId, pageTitle, pageOrientation, printNote)

The change also includes printing changes made in separate branch for #425 in [1723].

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/net.sf.basedb.reggie/trunk/resources/allprep_protocol2.jsp

    r1662 r1849  
    4242<head>
    4343  <title>Lab Tracking Protocol for Allprep isolation</title>
     44  <link rel="SHORTCUT ICON" href="<%=home%>/images/extraction.png">
    4445  <link rel="stylesheet" type="text/css" href="<%=home %>/css/printable.css">
    4546  <style>
     
    112113</head>
    113114<body>
     115  <div class="paper">
    114116  <div class="noprint fullwidth" style="border-bottom: 1px dashed #A0A0A0; padding-left: 1em; padding-bottom: 1em;">
    115     <a href="javascript:window.print()"><img src="images/print.png" style="padding-right: 4px;">Print</a>
     117    <span class="button" onclick="window.print()">
     118      <img src="images/print.png">Print&hellip;
     119    </span>
    116120  </div>
    117121 
     
    173177  %>
    174178  </table>
    175  
     179  </div>
    176180</body>
    177181</html>
Note: See TracChangeset for help on using the changeset viewer.