An open API service indexing awesome lists of open source software.

https://github.com/regisb/reveal.js-fullscreen-img

[DEPRECATED] Display gorgeous fullscreen images in reveal.js presentations
https://github.com/regisb/reveal.js-fullscreen-img

Last synced: over 1 year ago
JSON representation

[DEPRECATED] Display gorgeous fullscreen images in reveal.js presentations

Awesome Lists containing this project

README

          

Reveal.js fullscreen image plugin
---------------------------------

NOTE: this plugin is now (Jan. 2014) deprecated in favor of reveal.js' native data-background-image property: https://github.com/hakimel/reveal.js/#image-backgrounds

This is a simple plugin to insert full screen images in your presentations.

To use this plugin, you will need to use both the included js script and stylesheet:

- copy fullscreen-img.js to your lib/js/ folder
- copy fullscreen-img.css to your css/ folder
- include both files in your presentation:



Reveal.initialize({
...
dependencies: [
// Syntax highlight for <code> elements
{ src: 'lib/js/fullscreen-img.js' },
...
]
...
});

Then, you can flag any section as including a fullscreen image.

A title page:


A Fantastic Title


Interesting subtitle


If you want to scale the image so that the entire image is contained in the
slide, add a fullscreen-size attribute with value "contain" to your section:


...