impress.js README

The project's README from github.com/impress/impress.js. As one markdown file: README.md.

impress.js

CircleCI

It's a presentation framework based on the power of CSS3 transforms and transitions in modern browsers and inspired by the idea behind prezi.com.

WARNING

impress.js may not help you if you have nothing interesting to say ;)

HOW TO USE IT

Getting Started Guide

Check out our new Getting Started guide if you want a quick introduction to the project!

You can include this link directly inside of your HTML file in its header. If you want to learn how to do this, you can find a how-to in the Getting Started guide.

Getting Started Guide

Check out our new Getting Started guide if you want a quick introduction to the project!

Checking out and initializing the git repository

git clone --recursive https://github.com/impress/impress.js.git
cd impress.js

Note: For a minimal checkout, omit the --recursive option. This will leave out extra plugins.

Stable releases

New features and fixes are continuously merged into the master branch, which is what the above command will check out. For the latest stable release, see the Github Releases page.

Documentation

Reference documentation of core impress.js features and API you can find it in DOCUMENTATION.md.

The HTML source code of the official impress.js demo serves as a good example usage and contains comments explaining various features of impress.js. For more information about styling you can look into CSS code which shows how classes provided by impress.js can be used. Last but not least JavaScript code of impress.js has some useful comments if you are interested in how everything works. Feel free to explore!

Official demo

impress.js demo by @bartaz

Examples and demos

The Classic Slides demo is targeted towards beginners, or can be used as a template for presentations that look like the traditional PowerPoint slide deck. Over time, it also grew into the example presentation that uses most of the features and addons available.

More examples and demos can be found on Examples and demos wiki page.

Feel free to add your own example presentations (or websites) there.

Other tutorials and learning resources

If you want to learn even more there is a list of tutorials and other learning resources on the wiki, too.

There is also a book available about Building impressive presentations with impress.js by Rakhitha Nimesh Ratnayake.

You may want to check out the sibling project Impressionist: a 3D GUI editor that can help you in creating impress.js presentations.

Mailing list

You're welcome to ask impress.js related questions on the impressionist-presentations mailing list.

REPOSITORY STRUCTURE

WANT TO CONTRIBUTE?

For developers, once you've made changes to the code, you should run these commands for testing:

npm install
npm run all

Note that running firefox qunit_test_runner.html is usually more informative than running karma with npm run test. They both run the same tests.

More info about the src/ directory can be found in src/plugins/README.md.

Requirements

ABOUT THE NAME

impress.js name is courtesy of @skuzniak.

It's an (un)fortunate coincidence that an Open/LibreOffice presentation tool is called Impress ;)

Reference API

See the Reference API

BROWSER SUPPORT

The design goal for impress.js has been to showcase awesome CSS3 features as found in modern browser versions. We also use some new DOM functionality, and specifically do not use jQuery or any other JavaScript libraries, nor our own functions, to support older browsers. In general, recent versions of Firefox and Chrome are known to work well. Reportedly IE now works too.

The typical use case for impress.js is to create presentations that you present from your own laptop, with a browser version you know works well. Some people also use impress.js successfully to embed animations or presentations in a web page, however, be aware that in this some of your visitors may not see the presentation correctly, or at all.

In particular, impress.js makes use of the following JS and CSS features:

Copyright 2011-2012 Bartek Szopka (@bartaz), 2016-2023 Henrik Ingo (@henrikingo) and 70+ other contributors

Released under the MIT License

impress.js (impress/impress.js)

Searching Database…

这是什么?impress.js 是一个演示文稿框架,借鉴了 prezi.com 的思路,利用现代浏览器中的 CSS3 3D 变换和过渡效果来制作幻灯片。
这是我可以在 HTML 里引用的库,还是构建工具?它是一个普通的 JavaScript 文件,放进 HTML 页面头部即可;运行时不依赖 jQuery 或其他 JS 库,使用它也不需要 Node 或 npm 模块。
我怎样把它加到演示文稿里?在 HTML 文件头部引入 js/impress.js(提供直接下载链接),或者使用 git clone --recursive 克隆仓库,再用 node build.js 从 src/ 生成 js/impress.js。
使用它需要 Node 或 npm 吗?不需要。在演示文稿中使用它不需要 Node 或 npm;只有想从源码构建或运行测试套件时,才需要 Node(>=7.6)和 npm。
它在所有浏览器里都能用吗?它依赖 CSS 3D Transforms、CSS Transitions、DataSet API 和 ClassList API,因此在较新的 Firefox 和 Chrome 中运行良好;在不支持这些特性的浏览器中,访客可能无法正确看到演示内容,甚至完全看不到。
Impressionist 是什么?Impressionist 是一个姊妹项目:一款 3D 图形界面编辑器,无需手写 HTML 即可帮你制作 impress.js 演示文稿。
新手应该从哪里开始?可以先看 Classic Slides 演示,这是一个类似 PowerPoint 的简单模板;也可以阅读 Getting Started 指南,快速入门。
这个项目为什么叫 impress.js?这个名字是贡献者 @skuzniak 提议的;巧合的是,Open/LibreOffice 的演示工具也叫 'Impress',两者并无关联。
Creator
impress
Size
4.3 MB
Stars
38.2K
Age
14y
Commits · 90 Days