2011-08-08 39 views
0

我正在尋找一個控件,它允許我在網頁上嵌套和幻燈片pdf和powerpoint演示文稿幻燈片(就像谷歌文檔一樣)。有人可以推薦我這樣的控制嗎?用於pdf和PowerPoint演示文稿的ASP滑塊控件

我知道,我想做的一種方式是將幻燈片轉換爲圖像和ASP.NET AJAX SlideShow Extender等控件的用法以預覽圖像,但我希望找到更復雜的工具。

問候

回答

0

我找到了一個很好的解決方案,包括PDFPowerPoint中的網頁文件,無需安裝任何擴展。我使用Google Docs ViewerLytebox對話框。解決方法很簡單,如下所示:

<link href="@Url.Content("~/Content/lytebox.css")" rel="stylesheet" type="text/css" /> 
<script src="@Url.Content("~/Scripts/lytebox.js")" type="text/javascript"></script> 

<a href="http://docs.google.com/viewer?url=http://www.mydoc.pdf&embedded=true" 
    rel="lyteframe" 
    title="Make preview" 
    data-lyte-options="width:800 height:500 scrolling:no"> 
Make preview 
</a> 

enter image description here

問候

相關問題