I thought it was a doable thing! I will use a simple pop-up window! Thanks Thomas and Chris
Salvatore Chris Jackson-15 wrote: > > Hi > > I think you are talking about thickbox functionality (loading external > urls > in an iframe element) - possibly subtly different to how PMapper does it > for query results etc (as it is mainly AJAX driven)... > > If I am remotely on the right lines then you may need to look at extending > jqmodal like so - > http://pixeline.be/blog/development/javascript-loading-external-urls-in-jqmodal-jquery-plugin-302.htmlor > something similar. > > If I am barking up the wrong tree, then sorry for mudding the waters!! > > Chris > > On 4 November 2011 10:26, Thomas RAFFIN <traf...@sirap.fr> wrote: > >> Hi, >> >> Do you have already seen something like what you describe in a web site? >> >> I think it is not possible. >> >> Indeed your browser needs a plugin to display your PDF (from Adobe for >> instance). But I think those plugins only works int full window / tab. >> >> Thomas >> >> Le 04/11/2011 11:11, Salvatore Larosa a écrit : >> > Hi at all, >> > I have a issue with dialog function in pm.pmapper.js. >> > I'd like open a PDF in dialog window like query result, but I don't >> able >> to >> > do it! >> > >> > I have changed in pm.pmapper.js (my additions in bold): >> > >> > Dlg: { >> > >> > .................... >> > schedaDlgOptions: {width:600, height:500, left:100, top:50, >> > resizeable:true, newsize:true, container:'pmDlgContainer', >> name:"scheda"}, >> > .................... >> > >> > openHelp: function() { >> > this.createDnRDlg(this.helpDlgOptions, _p('Help'), >> > 'help.phtml?'+SID); >> > }, >> > >> > openScheda: function(fldValue) { >> > this.createDnRDlg(this.schedaDlgOptions, _p('Scheda'), >> > '../shd/'+ fldValue +'.pdf'+SID); >> > }, >> > >> > openDownload: function() { >> > this.createDnRDlg(this.downloadDlgOptions, _p('Download'), >> > 'downloaddlg.phtml?'+SID ); >> > }, >> > >> > in custom.js (my additions in bold): >> > >> > $.extend(PM.Custom, >> > { >> > // Sample Hyperlink function for result window >> > openHyperlink: function(layer, fldName, fldValue) { >> > switch(layer) { >> > case 'pr_agroalimentari': >> > if (fldName == 'scheda') { >> > PM.Dlg.openScheda(fldValue); >> > } >> > .................................. >> > >> > >> > i get a dialog window wrong with characters misunderstood (attached >> image). >> > >> > Any hint? >> > >> > http://old.nabble.com/file/p32779273/dialogWindowPdf.png >> >> >> ------------------------------------------------------------------------------ >> RSA(R) Conference 2012 >> Save $700 by Nov 18 >> Register now >> http://p.sf.net/sfu/rsa-sfdev2dev1 >> _______________________________________________ >> pmapper-users mailing list >> pmapper-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/pmapper-users >> > ------------------------------------------------------------------------------ > RSA(R) Conference 2012 > Save $700 by Nov 18 > Register now > http://p.sf.net/sfu/rsa-sfdev2dev1 > _______________________________________________ > pmapper-users mailing list > pmapper-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/pmapper-users > > -- View this message in context: http://old.nabble.com/PDF-in-dialog-window-tp32779273p32779700.html Sent from the pmapper users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users