1.将ViewerJS文件夹拷贝到你的项目中
2.配置地址 </div>--%>
<div style="width:1168px;height:600px; margin:10px auto;display :none" id="service"><iframe class="media" src ="Scripts/ViewerJS/#/wordHtml/<%=serviceH %>.PDF" style="width:100%;height:100%" ></iframe></div>
wordHTml是放置pdf文件,他与Scripts文件是同等级的
这样就可以了
他是兼容ie的
下载地址: