Hello all,

I would like the print advanced options (paper size, orientation ,title,
...) displayed by default when one hit the 'print' link.
I have tried to add the following into the custom.js file of my project:
$.extend(PM.Pmapper,
{
   openPrint: function() {
      this.createDnRDlg(this.printDlgOptions, _p('Print Settings'),
'printdlg.phtml?'+SID);
      $('#pmDlgContainer div.printdlg_advanced').show();
      var height = ($.browser.msie && (parseInt($.browser.version) <= 7.0))
? $('#printdlg').height() : $('#printdlg').innerHeight();
      $('#pmDlgContainer').height(parseInt(height) + 60);
      this.adaptDWin($('#pmDlgContainer'));
   }
});

Not working so far... Do you see what I am missing?

Thx!
Chris
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users

Reply via email to