buttons: [{
var mConfig = {
mediaType :'PDFFRAME', //this is the most reliable cross-browser
url : 'servlet/PdfServlet?invoice=2319283',
unsupportedText : 'Acrobat Viewer is not Installed',
resizable : true // < -- what's this?
autoSize : true
};
var p = new Ext.ux.MediaWindow({
id : 'PDFViewerWin',
bodyStyle : 'position:relative; padding:0px;',
width : 600,
height : 400,
mediaCfg : mConfig,
title : 'Title-1'
}).show();
|