最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - How to convert a PowerPoint slide into HTML? - Stack Overflow

programmeradmin5浏览0评论

I am trying to insert PowerPoint slides into HTML preserving links in the PowerPoint slide. I was just wondering if any of you knew a good method to maybe exporting a PowerPoint slide to an HTML and then displaying it in a div on your page, with a link to say do a JavaScript function on that same page.

I am trying to insert PowerPoint slides into HTML preserving links in the PowerPoint slide. I was just wondering if any of you knew a good method to maybe exporting a PowerPoint slide to an HTML and then displaying it in a div on your page, with a link to say do a JavaScript function on that same page.

Share Improve this question edited Feb 24, 2010 at 1:19 Todd Main 29.2k11 gold badges84 silver badges150 bronze badges asked Aug 9, 2009 at 18:01 Javed AhamedJaved Ahamed 2,9346 gold badges33 silver badges42 bronze badges
Add a ment  | 

5 Answers 5

Reset to default 3

I've never used it, but PPT2HTML might help. There's also this blog that describes how to save your presentation for the web then modify it.

This isn't exactly what you're after, but there are some html-based presentation tools like S5, DOMSlides you might want to consider as they wouldn't suffer from being translated.

You can use the jQuery plugin called PPTXjs.

This plugin convert pptx to html using javascript only (no server side code needed).

It is based on PPTX2HTML but support a lot more shapes, media (audio, video) and more.

Using:

    $("#result").pptxToHtml({
        pptxFileUrl: "path/to/slide.pptx"
    });

For more details : https://github./meshesha/PPTXjs.

1)u can convert it to flash swf 2)convert all slides to an image file and then add 2 buttons(Back,Next) with calling the next and previous images based on an integer variable and this buttons will show u the previous and next slides :)

sorry but u cant embed it without copying all the Powerpoint-exported HTML code in your div tag

Though not quite what you asked, Google Docs or Slideshare both let you embed Powerpoint as flash - perhaps that would be a more elegant way to do this. That is, if embedding is the aim!

I remember there was a function in PowerPoint to export it to an HTML, I would do that and then have it in the page using an <iframe> and then put that inside a <div>

发布评论

评论列表(0)

  1. 暂无评论