Commit Graph

668 Commits

Author SHA1 Message Date
Dan Dascalescu dfa98a1138 Document vertical centering breaking backcompat
Essentially, slides have variable height now. This is not normally visible, but with transitions that have a non-transparent background, like `cube` or `page`, it is:




http://lab.hakim.se/reveal-js/?transition=cube




Before, slides had a fixed height, which means that presentations designed with that assumption in mind will look very different now.




Another aspect that I bumped into is that I used the slide's height to dynamically size images to fill the remainder of the space from the heading to the footer, like this (stripped to the essence):




          bigImage.style.height = section.offsetHeight - bigImage.offsetTop + 'px';




Alternatively, is there an easy way to restore the previous functionality?
2012-11-13 01:47:02 -08:00
Josh Nichols 00c90a974a Use grunt-contrib-mincss ~0.3.1
Was at ~0.3.2, but doesn't seem to have been released properly.
2012-11-12 17:09:06 -05:00
Antoine Musso 5354b78869 Fix callback calling when using from a parent directory
Authors might want to use a shared reveal.js installation for all their
presentations such as:

	$ ls -1 -F
	20120105-how-to-use-git.html
	20121101-wikimedia-scaling.html
	reveal.js/
	$

In this case, the plugin callbacks will not be called at all.

When using head.js, the callback is marked as depending upon the loading of a
Javscript filename. The regex used to find out the filename is applied to the
full path which in the above case would be something like:

	reveal.js/plugin/highlight/highlight.js

The regex will thus give out 'reveal.js' as a file depency instead of the
expected 'highlight.js'

The fix is quiet easy: simply make sure that we are looking for a file that
actually ends with '.js' instead of simply containing '.js' by adding a $.
2012-11-12 20:31:31 +01:00
Hakim El Hattab 4c8938029d note about #226 in readme 2012-11-11 19:54:26 -05:00
Hakim El Hattab 4fbec5e87d add touch based remote controlled plugin 2012-11-11 19:39:05 -05:00
Hakim El Hattab 05499c8b8e add note about nested fragments 2012-11-11 10:24:48 -05:00
Hakim El Hattab ce1be451c5 fix typos 2012-11-11 10:05:13 -05:00
Hakim El Hattab eb011e9f31 Merge branch 'master' of github.com:hakimel/reveal.js 2012-11-11 10:01:18 -05:00
Hakim El Hattab d6d0f40c5e add grunt.js build file (closes #235) 2012-11-11 10:01:05 -05:00
Hakim El Hattab 2e7b53865e Merge pull request #234 from dandv/patch-1
its->it's in README.md
2012-11-10 18:18:29 -08:00
Dan Dascalescu 4192106469 its->it's in README.md
Thanks for the multi-control support!
2012-11-10 17:51:31 -08:00
Hakim El Hattab 8e79f8592a fixes issue where italic fonts disappeared when printing to pdf (closes #230) 2012-11-10 20:09:12 -05:00
Hakim El Hattab be4c55cd65 add night theme 2012-11-10 19:49:44 -05:00
Hakim El Hattab 403cb5a8c4 fix issue with dependency loader callbacks 2012-11-10 19:14:16 -05:00
Hakim El Hattab 2834a6bc89 ensure fragments are visible in print styles, fix page-break error in paper print sheet 2012-11-10 18:15:05 -05:00
Hakim El Hattab 87591d95d1 cosmetical tweaks to postmessage plugin 2012-11-10 17:15:11 -05:00
Hakim El Hattab 42766b1bfa Merge branch 'master' of https://github.com/sithmel/reveal.js
merge postmessage api
2012-11-10 17:02:12 -05:00
Hakim El Hattab b42890d1a2 workaround markdown quote issue (#223) 2012-11-10 16:59:03 -05:00
Hakim El Hattab fd527c5d07 tweak ie8 fallback 2012-11-10 16:22:10 -05:00
Hakim El Hattab ecac983116 updated transition styles to work with vertical centering (#70) 2012-11-10 16:01:56 -05:00
Hakim El Hattab dce2d35a63 fix vertical transition for vertically centered slides, vertical centering is now on by default (#70) 2012-11-10 15:43:32 -05:00
Hakim El Hattab 891a66b5c4 correction to vertical centering and overview mode, clean up of vertical slide storage 2012-11-10 15:28:34 -05:00
Hakim El Hattab b4815a3a83 remember last visited vertical slide (closes #225) 2012-11-10 14:48:29 -05:00
Hakim El Hattab eac5a3a239 enable up/down arrows to step through fragments (closes #233) 2012-11-10 14:04:11 -05:00
Hakim El Hattab fa3d0c899c count vertical slides towards the progress bar (closes #150) 2012-11-10 13:59:51 -05:00
Hakim El Hattab 64ebbf80fb revert to display none from visibility hidden to correct vertical centering 2012-11-10 12:16:48 -05:00
Hakim El Hattab c79376dab2 allow multiple control elements, document usage of global controls (#184, #204) 2012-11-10 11:40:19 -05:00
Hakim El Hattab df4e1fd346 write named links, rather than h/v index, to hash when available (closes #224) 2012-11-10 10:39:59 -05:00
Hakim El Hattab f6c5ceb490 additional media query plus vertical queries to support smaller screens (closes #232) 2012-11-10 10:31:23 -05:00
Hakim El Hattab a13c6b9ca9 overview mode documentation 2012-11-10 10:16:06 -05:00
Hakim El Hattab 794ad86809 corrections to vertical centering (#70), added to docs, upgrade to 2.2 2012-11-10 10:02:19 -05:00
Hakim El Hattab 691099c6a2 rough support for vertical centering #70 2012-11-10 09:41:26 -05:00
Federico Fissore 6ffa60f5d2 working on #227 2012-11-05 16:38:24 +01:00
Maurizio Lupo a7c3543069 added a simple postmessage plugin 2012-10-31 15:36:26 +01:00
Bruno Bord 8ca4954059 Describing how to toggle "overview mode" 2012-10-30 22:31:54 +01:00
Hakim El Hattab f51067b00e fixed issue with dependency loader failing when there were 0 async scripts (#214) 2012-10-29 08:27:20 -04:00
Hakim El Hattab 5c5b3d34d9 fix rolling links glitch in firefox 2012-10-29 00:10:14 -04:00
Hakim El Hattab e87d689231 content now re-renders after alt+click zoom (closes #195) 2012-10-28 23:55:19 -04:00
Hakim El Hattab af2a8b053d include theme background in printed pdfs (#217), fix empty white pages in regular print (#215) 2012-10-28 19:32:24 -04:00
Hakim El Hattab 38aff9a37d Merge branch 'master' of github.com:hakimel/reveal.js 2012-10-28 19:07:35 -04:00
Hakim El Hattab 8bd63fe21a document server-side speaker notes 2012-10-28 20:07:06 -03:00
Hakim El Hattab 6a691a0999 remove console.log 2012-10-28 18:57:27 -04:00
Hakim El Hattab 605f7140e3 updated markdown references in notes plugin 2012-10-28 18:49:01 -04:00
Hakim El Hattab e693717f2a update syntax highlight after editing (#210), move markdown and highlight scripts from lib to plugin 2012-10-28 18:09:54 -04:00
Hakim El Hattab 9da9726403 only call slide() if route is available in navigate methods (closes #213) 2012-10-28 17:30:55 -04:00
Hakim El Hattab 6aafa0107d escape quotes in css using unicode hex 2012-10-27 21:20:13 -04:00
Hakim El Hattab 6794f543e0 merge in support for stepped fragments in notes server 2012-10-25 09:42:33 -04:00
Hakim El Hattab 5d1bac5790 merge in support for stepped fragments in notes window 2012-10-25 09:36:25 -04:00
Hakim El Hattab 4777afe0c5 force 'ready' to fire one cycle later (#208) 2012-10-24 21:42:10 -04:00
Hakim El Hattab 747c4c4b3d fix keyboard navigation in ie9 (closes #202) 2012-10-24 21:30:52 -04:00