用按钮弹出一个pdf

时间:2013-01-14 20:07:06

标签: html popup

  

可能重复:
  Force to open “Save As…” popup open at text link click for pdf in HTML

您好,我有这段代码:

onclick="location.href=('GEIQTrainingBrochure2013.pdf');" onmouseover="document.body.style.cursor='hand';" onmouseout="document.body.style.cursor='default';" style="background:url(images/midpattern.gif); background:repeat; border:#036"><font color="#FFFFFF" size="1"><strong>Trainings Catalog</strong></font>

这是一个按钮: 但是这会在我的页面中显示PFD,但我希望它能为您提供开放或下载选项,就像任何办公文档一样,我该怎么做?谢谢:D

0 个答案:

没有答案