Jump to content

Recommended Posts

  • 3 weeks later...
  • 3 months later...
  • 2 months later...
  • 7 months later...
  • 3 months later...
  • 1 month later...
Posted
 error on active frame

 



Cannot read property 'iframe' of undefined

 

 

frmVisualizaImagem.UniURLFrame1.iframe.contentWindow.document.getElementById('openFile').style.display="none";frmVisualizaImagem.UniURLFrame1.iframe.contentWindow.document.getElementById('download').style.display="none";frmVisualizaImagem.UniURLFrame1.iframe.contentWindow.document.getElementById('print').style.display="none";frmVisualizaImagem.UniURLFrame1.iframe.contentWindow.document.getElementById('viewBookmark').style.display="none";


  • 4 weeks later...
  • 7 months later...
Posted

Hi.

 

This works for me, but I don't know how to express the url of the pdf file.

 

I have a c:\docs folder in the server, but I don´t know how to constr5uct the url.

 

In the sample: fpdfview.UniURLFrame1.URL := '/pdf/web/viewer.html?file=../..//Docs//' + '2.pdf' + '#page=1&zoom=50';

 

Some help in my case?

 

Thanks.

  • 3 years later...
  • 1 year later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...