impress框架

  • q4_693545
    了解作者
  • 25.5KB
    文件大小
  • zip
    文件格式
  • 0
    收藏次数
  • VIP专享
    资源类型
  • 0
    下载次数
  • 2022-05-21 09:53
    上传日期
它主要是基于CSS3的变换和切换。只有现代浏览器支持,效果很震撼。
bartaz-impress.js-0.4.1-0-gb59a4bf.zip
  • bartaz-impress.js-9c6234c
  • js
  • impress.js
    16.9KB
  • css
  • impress-demo.css
    12.8KB
  • index.html
    16.6KB
  • apple-touch-icon.png
    3.9KB
  • README.md
    11.3KB
  • favicon.png
    1.3KB
内容介绍
impress.js ============ 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 ;) ABOUT THE NAME ---------------- impress.js name in [courtesy of @skuzniak](http://twitter.com/skuzniak/status/143627215165333504). It's an (un)fortunate coincidence that a Open/LibreOffice presentation tool is called Impress ;) VERSION HISTORY ----------------- ### 0.4.1 ([browse](http://github.com/bartaz/impress.js/tree/0.4.1), [zip](http://github.com/bartaz/impress.js/zipball/0.4.1), [tar](http://github.com/bartaz/impress.js/tarball/0.4.1)) #### BUGFIX RELEASE Changes is version 0.4 introduced a bug causing JavaScript errors being thrown all over the place in fallback mode. This release fixes this issue. It also adds a flag `impress.supported` that can be used in JavaScript to check if impress.js is supported in the browser. ### 0.4 ([browse](http://github.com/bartaz/impress.js/tree/0.4), [zip](http://github.com/bartaz/impress.js/zipball/0.4), [tar](http://github.com/bartaz/impress.js/tarball/0.4)) #### CHANGELOG * configuration options on `#impress` element: `data-perspective` (in px, defaults so 1000), `data-transition-duration` (in ms, defaults to 1000) * automatic scaling to fit window size, with configuration options: `data-width` (in px, defaults to 1024), `data-height` (in px, defaults to 768), `max-scale` (defaults to 1), `min-scale` (defaults to 0) * `goto` API function was renamed to `stepTo` because `goto` is a future reserved work in JavaScript, so **please make sure to update your code** * fallback `impress-not-supported` class is now set on `body` element instead of `#impress` element and it's replaced with `impress-supported` when browser supports all required features * classes `step-ID` used to indicate progress of the presentation are now renamed to `impress-on-ID` and are set on `body` element, so **please make sure to update your code** * basic validation of configuration options * couple of typos and bugs fixed * favicon added ;) #### UPGRADING FROM PREVIOUS VERSIONS If in your custom JavaScript code you were using `goto()` function from impress.js API make sure to change it to `stepTo()`. If in your CSS you were using classes based on currently active step with `step-` prefix, such as `step-bored` (where `bored` is the id of the step element) make sure to change it to `impress-on-` prefix (for example `impress-on-bored`). Also in previous versions these classes were assigned to `#impress` element and now they are added to `body` element, so if your CSS code depends on this, it also should be updated. Same happened to `impress-not-supported` class name - it was moved from `#impress` element to `body`, so update your CSS if it's needed. #### NOTE ON BLACKBERRY PLAYBOOK Changes and fixes added in this version have broken the experience on Blackberry Playbook with OS in version 1.0. It happened due to a bug in the Playbook browser in this version. Fortunately in version 2.0 of Playbook OS this bug was fixed and impress.js works fine. So currently impress.js work only on Blackberry Playbook with latest OS. Fortunately, [it seems that most of the users](http://twitter.com/n_adam_stanley/status/178188611827679233) [are quite quick with updating their devices] (http://twitter.com/brcewane/status/178230406196379648) ### 0.3 ([browse](http://github.com/bartaz/impress.js/tree/0.3), [zip](http://github.com/bartaz/impress.js/zipball/0.3), [tar](http://github.com/bartaz/impress.js/tarball/0.3)) #### CHANGELOG * minor CSS 3D fixes * basic API to control the presentation flow from JavaScript * touch event support * basic support for iPad (iOS 5 and iOS 4 with polyfills) and Blackberry Playbook #### UPGRADING FROM PREVIOUS VERSIONS Because API was introduced the way impress.js script is initialized was changed a bit. You not only has to include `impress.js` script file, but also call `impress()` function. See the source of `index.html` for example and more details. ### 0.2 ([browse](http://github.com/bartaz/impress.js/tree/0.2), [zip](http://github.com/bartaz/impress.js/zipball/0.2), [tar](http://github.com/bartaz/impress.js/tarball/0.2)) * tutorial/documentation added to `index.html` source file * being even more strict with strict mode * code clean-up * couple of small bug-fixes ### 0.1 ([browse](http://github.com/bartaz/impress.js/tree/0.1), [zip](http://github.com/bartaz/impress.js/zipball/0.1), [tar](http://github.com/bartaz/impress.js/tarball/0.1)) First release. Contains basic functionality for step placement and transitions between them with simple fallback for non-supporting browsers. HOW TO USE IT --------------- [Use the source](http://github.com/bartaz/impress.js/blob/master/index.html), Luke ;) If you have no idea what I mean by that, or you just clicked that link above and got very confused by all these strange characters that got displayed on your screen, it's a sign, that impress.js is not for you. Sorry. Fortunately there are some guys on GitHub that got quite excited with the idea of building editing tool for impress.js. Let's hope they will manage to do it. EXAMPLES AND DEMOS -------------------- ### Official demo [impress.js demo](http://bartaz.github.com/impress.js) by [@bartaz](http://twitter.com/bartaz) ### Presentations [CSS 3D transforms](http://bartaz.github.com/meetjs/css3d-summit) from [meet.js summit](http://summit.meetjs.pl) by [@bartaz](http://twitter.com/bartaz) [What the Heck is Responsive Web Design](http://johnpolacek.github.com/WhatTheHeckIsResponsiveWebDesign-impressjs/) by John Polacek [@johnpolacek](http://twitter.com/johnpolacek) [12412.org presentation to Digibury](http://extra.12412.org/digibury/) by Stephen Fulljames [@fulljames](http://twitter.com/fulljames) [Data center virtualization with Wakame-VDC](http://wakame.jp/wiki/materials/20120114_TLUG/) by Andreas Kieckens [@Metallion98](https://twitter.com/#!/Metallion98) [Asynchronous JavaScript](http://www.medikoo.com/asynchronous-javascript/3d/) by Mariusz Nowak [@medikoo](http://twitter.com/medikoo) [Introduction to Responsive Design](http://www.alecrust.com/factory/rd-presentation/) by Alec Rust [@alecrust] (http://twitter.com/alecrust) [Bonne année 2012](http://duael.fr/voeux/2012/) by Edouard Cunibil [@DuaelFr](http://twitter.com/DuaelFr) [Careers in Free and Open Source Software](http://exequiel09.github.com/symposium-presentation/) by Exequiel Ceasar Navarrete [@ichigo1411](http://twitter.com/ichigo1411) [HTML5 Future : to infinity and beyond!](http://sylvainw.github.com/HTML5-Future/index_en.html) by Sylvain Weber [@sylvainw](http://twitter.com/sylvainw) ### Websites and portfolios [lioshi.com](http://lioshi.com) by @lioshi [alingham.com](http://www.alingham.com) by Al Ingham [@alingham](http://twitter.com/alingham) [nice-shots.de](http://nice-shots.de) by [@NiceShots](http://twitter.com/NiceShots) [museum140](http://www.youtube.com/watch?v=ObLiikJEt94) Shorty Award promo video [entirely made with ImpressJS](http://thingsinjars.com/post/446/museum140-shorty/) by [@thingsinjars](http://twitter.com/thingsinjars) [electricanimal.co.uk](http://www.electricanimal.co.uk) by [@elecmal](http://twitter.com/elecmal) [t3kila.com](http://www.t3kila.com) by Romain Wurtz If you have used impress.js in your presentation (or website) and would like to have it listed here, please contact me via GitHub or send me a pull request to updated `README.md` file. WANT TO CONTRIBUTE? --------------------- If you've found a bug or have a great idea for new feature let me know by [adding your suggestion] (http://github.com/bartaz/impress.js/issues/new) to [issues list](https://github.com/bartaz/impress.js/issues). If you have fixed a bug or implemented a feature that you'd like to share, send your pull request against [dev branch] (http
评论