Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $("#Section1").printElement({
- leaveOpen: true,
- printMode: 'popup',
- pageTitle: '<%=Resources.Reporting.Text_Title%>'
- });
- if (opts["printMode"].toLowerCase() == 'popup') {
- popupOrIframe = window.open('about:blank', 'printElementWindow', 'width=650,height=440,scrollbars=yes');
- documentToWriteTo = popupOrIframe.document;
- }
- var windowName = "printElementWindow";
- windowName = windowName + (Math.round(Math.random() * 99999)).toString();
- if (opts["printMode"].toLowerCase() == 'popup') {
- popupOrIframe = window.open('about:blank', windowName, 'width=650,height=440,scrollbars=yes');
- documentToWriteTo = popupOrIframe.document;
- }
Add Comment
Please, Sign In to add comment