Commit Graph

337 Commits

Author SHA1 Message Date
Hakim El Hattab 0ebda98735 greatly simplify next/prev fragment routines 2013-04-27 16:23:28 -04:00
Hakim El Hattab fdecb74cc8 also update controls and progress on sync 2013-04-27 16:18:39 -04:00
Hakim El Hattab 31e9c415fe update progress bar on window resize 2013-04-27 16:10:47 -04:00
Hakim El Hattab ce66980367 add sync method 2013-04-27 16:09:38 -04:00
Marc van Gend 5736d4ae6e Use the newer element.webkitRequestFullscreen method if available, to support all key events in fullscreen mode. 2013-04-24 22:31:18 +02:00
Hakim El Hattab cc455e2553 correction to navigate top/right/bottom/left methods (closes #409) 2013-04-18 08:53:11 -04:00
Hakim El Hattab 70b7ce360c return current fragment index through getIndices, replaces getCurrentFragmentIndex #395 2013-04-16 08:59:35 -04:00
Hakim El Hattab 3f8f146466 fix previous slide navigation logic (closes #397) 2013-04-15 09:07:09 -04:00
Hakim El Hattab 3999430b81 merge mutiplex fragment fix #395 2013-04-11 09:17:20 -04:00
tkaczmarzyk 2256621169 returning index only when current fragment is defined 2013-04-07 06:38:21 +02:00
tkaczmarzyk 2f8aa51dc2 simplified getCurrentFragmentIndex impl 2013-04-06 18:18:54 +02:00
Hakim El Hattab a400dd0c70 support for transition speed settings (closes #392) 2013-04-06 12:18:25 -04:00
tkaczmarzyk 6e3487bdd6 removed no longer required helper method 2013-04-06 18:00:32 +02:00
tkaczmarzyk c12b780736 broadcasting fragments state in multiplex plugin (#394) 2013-04-06 13:19:34 +02:00
Hakim El Hattab 6ece551f8a always construct controls and progress bar at startup (closes #384) 2013-03-30 22:54:57 -04:00
Hakim El Hattab 3a03c4cd28 add availableRoutes to the api (#371) 2013-03-23 11:42:21 -04:00
Hakim El Hattab 4ff462078b always kill touch events on removelisteners (#365) 2013-03-17 18:21:03 -04:00
Hakim El Hattab e74a10e364 enable keyboard/touch flags to change in runtime configure() call (closes #365) 2013-03-17 08:21:17 -04:00
Hakim El Hattab a927b05967 Merge branch 'bugfix-pause' of https://github.com/EverythingMe/reveal.js into dev 2013-03-17 08:14:45 -04:00
Amir Nissim 5d26e1618f bugfix - continue autoslide after resume 2013-03-11 12:46:02 +02:00
Remy Bach 9138e4bc20 Add shift+space functionality 2013-03-10 11:26:24 +00:00
Hakim El Hattab b855142f65 remove extra whitespace 2013-03-08 19:31:36 -05:00
Hakim El Hattab 4faaccdf8d fix grunt jshint config 2013-03-08 19:29:15 -05:00
Hakim El Hattab 825fe51de9 add Reveal.getConfig(), replace use of window.globals (#98) 2013-03-08 19:05:58 -05:00
Hakim El Hattab 2bd5e8b65b merge in multiplex (#98) 2013-03-08 18:49:28 -05:00
David Banham 580a72c444 Bring multiplex up to date 2013-03-08 12:43:18 +11:00
Hakim El Hattab 16f9749db5 scope error (#300) 2013-03-05 09:48:42 -05:00
Hakim El Hattab d237c22fc0 blindfolded attempt at ie10 touch (#300) 2013-03-05 09:47:08 -05:00
Hakim El Hattab ee7d36a044 fix error in how touch support was detected 2013-03-04 17:30:28 -05:00
Hakim El Hattab 0926be9781 better null check for stack (closes #354) 2013-03-04 17:01:49 -05:00
Hakim El Hattab 3bae233289 fix rotues check when loop is active 2013-03-04 16:55:39 -05:00
Hakim El Hattab 2abf6678fa fix minor inconsistency in left/right nav when first/last slides are vertical 2013-03-04 16:17:01 -05:00
Hakim El Hattab 7db0d9c17d enable pos-startup config of autoSlide 2013-03-04 15:59:44 -05:00
Hakim El Hattab 7081f901da fix a few typos (closes #352) 2013-03-01 11:13:46 -05:00
Hakim El Hattab eeed287265 format tweak 2013-02-28 17:03:44 -05:00
Ben Houston 2767254d33 fixing an initialization bug when turning off controls and progress in initialization. 2013-02-28 13:05:06 -08:00
Hakim El Hattab d2b6ed4726 force layout after configuration changes 2013-02-27 17:17:32 -05:00
Hakim El Hattab c2ab30b87e replace classList.toggle( ..., force ) as it's broken in ff 2013-02-27 16:55:14 -05:00
Hakim El Hattab 4c57ad918b dispatch event when paused/resumed (closes #336) 2013-02-27 16:41:45 -05:00
Hakim El Hattab 2e8e73a847 fragment sorting tweaks, sort attribute is now called data-fragment-index (#342) 2013-02-27 13:41:29 -05:00
Hakim El Hattab 25f26bdc15 Merge branch 'sort_fragments' of https://github.com/jaberg/reveal.js into dev 2013-02-27 13:25:28 -05:00
Hakim El Hattab 3b822c33e4 disabled overview clicks on slides with disabled class 2013-02-26 12:08:04 -05:00
Hakim El Hattab 40759435e4 prevent overview click events after calling Reveal.removeEventListeners 2013-02-24 00:52:54 -05:00
Hakim El Hattab f795cb0269 add configure api method for update config after initialization 2013-02-24 00:44:20 -05:00
James Bergstra e4016792dd FIX: indent level of sort_fragments 2013-02-21 13:16:26 -05:00
James Bergstra c00de0a24d ENH: fragment-pos attribute for ordering fragments 2013-02-21 11:23:07 -05:00
JJ Allaire 2cfabed9f3 ontouchstart null check in addEventListeners 2013-02-14 05:26:46 -05:00
Hakim El Hattab e1872c9115 added isFirstSlide/isLastSlide api methods 2013-02-13 18:00:53 -05:00
Hakim El Hattab 24a59a53fd Merge branch 'master' of https://github.com/gouravtiwari/reveal.js 2013-02-13 17:38:24 -05:00
JJ Allaire 45825b61b7 check window.ontouchstart != null (required for qtwebkit) 2013-02-13 08:10:27 -05:00
Gourav Tiwari 4df8a25625 Added isFirstSlide and isLastSlide functions 2013-02-11 13:51:40 -05:00
Hakim El Hattab 7ee4e0ba66 scale presentations on ipad instead of zoom 2013-02-11 12:09:14 -05:00
Hakim El Hattab 24c493fb83 add api methods for check if overview is active or presentation is paused 2013-02-09 19:11:54 -05:00
Hakim El Hattab 2962325fd1 stop auto-slide on pause and overview (closes #320) 2013-02-09 19:04:17 -05:00
Hakim El Hattab cf8708f932 adjust copyright years 2013-02-05 20:08:59 -05:00
Hakim El Hattab 11fc906add helper method for retrieving slide based on index (closes #293) 2013-02-03 15:55:22 -05:00
Hakim El Hattab c21e6bbfed fix vertical centering of slide in ios chrome (closes #289) 2013-02-03 11:28:01 -05:00
Hakim El Hattab 9b830131f7 fix error with removal of control button and progress bar event listeners (closes #323) 2013-02-03 02:00:17 -05:00
Hakim El Hattab d182235f1f code cosmetics 2013-02-03 01:31:27 -05:00
Hakim El Hattab abf9ddb588 Merge pull request #322 from commadelimited/deactivate-nav-during-pause
Only allow 'unpause' keyboard events while paused
2013-02-02 22:28:28 -08:00
Hakim El Hattab c50ae08fe0 remove extra padding in stacks, add api method to retrieve curren scale (#310) 2013-02-02 20:05:09 -05:00
Hakim El Hattab 723bd1cc0b reduce width of single-page fallback slides 2013-02-02 17:05:05 -05:00
andy matthews f0b93d895b Only allowing 'unpause' keyboard events while paused 2013-01-31 16:44:15 -06:00
Hakim El Hattab 1b01a749b0 change default maxScale to 1.0 (#310) 2013-01-31 00:09:28 -05:00
Hakim El Hattab 9660cdbd26 add min/max scale settings (#310) 2013-01-30 23:59:37 -05:00
hakimel 1ca8306e2a rename padding config option to margin, better mobile support for scaled presentations (#310) 2013-01-29 18:59:36 -05:00
hakimel 312eafe2e0 feature detect zoom with fallback on transform, allow percent units for deck width/height (#310) 2013-01-28 18:58:32 -05:00
Hakim El Hattab d1c74523a4 updated to v2.3, initial implementation of uniformly scaled presentations (#310) 2013-01-27 23:27:14 -05:00
hakimel 4a0d939962 don't convert anchors with child nodes to rolling links (closes #266) 2013-01-21 14:55:45 -05:00
hakimel d489ec2f9d add overviewshown and overviewhidden events (closes #298) 2013-01-21 12:45:52 -05:00
hakimel e62b0f8795 config option for disabling touch navigation (closes #299) 2013-01-21 12:29:44 -05:00
hakimel 09bf962d32 expose layout api method (closes #305), consistent spacing across all functions in core JS, remove unused each() method 2013-01-21 12:22:30 -05:00
Hakim El Hattab 305e70d99b Merge pull request #303 from DrBenton/master
Small additions around "togglePause()"
2013-01-18 12:33:28 -08:00
hakimel 61457ce543 fix typos 2013-01-18 15:31:41 -05:00
Olivier Philippon 9c951e07cd add public "togglePause()" access 2013-01-18 17:09:36 +01:00
Olivier Philippon c0387fd5dd add Logitech presenter tools "black screen" button compatibility 2013-01-18 16:59:38 +01:00
Joel Brandt 082e4ed168 implement a fade transition 2013-01-16 12:49:10 -08:00
Hakim El Hattab feaced800c fix issue with navigateTo and fragments (closes #290) 2013-01-14 09:29:02 -05:00
Hakim El Hattab e46855096c merge in reset of vertical slides when returning to first slide #291 2013-01-12 12:18:00 -05:00
karimsa 905ec83d53 better fix (issue: #285) 2013-01-11 16:43:43 -05:00
karimsa d4d9c4bfab entities auto fix added 2013-01-06 00:11:32 -05:00
Hakim El Hattab 68f8c9361e fix issue with auto-advance (closes #273) 2013-01-02 09:14:28 -05:00
Hakim El Hattab 242006a499 add rtl option to readme 2012-11-27 08:45:02 -05:00
Hakim El Hattab 385bfd3717 fix issue with click event target on overview slides 2012-11-25 09:45:16 -05:00
Hakim El Hattab 0ac4c6e585 improve rendering accuracy of overview 2012-11-23 15:48:10 -05:00
Hakim El Hattab 8f7c51b4ec use touch start events for controls on touch devices 2012-11-22 16:25:19 -05:00
Hakim El Hattab 34b36753f5 slide method now accepts fragment index argument #228 2012-11-22 09:10:34 -05:00
Hakim El Hattab 363685967d adjust rtl implementation (#166) 2012-11-18 12:10:16 -05:00
Hakim El Hattab 0402fbde0c experimental rtl support (#166) 2012-11-17 15:59:28 -05:00
Hakim El Hattab c61dc00a98 enforce max width/height on iframes (#244), disabled mouse wheel navigation by default 2012-11-17 15:48:12 -05:00
Hakim El Hattab d9371e21a0 null check parentNode in case slide has been detached 2012-11-13 21:08:04 -05:00
Hakim El Hattab ad54b07a84 Merge branch 'fix-callback-with-shared-dir' of https://github.com/hashar/reveal.js 2012-11-13 09:37:37 -05:00
Hakim El Hattab ec0c744213 disable hiding of address bar on android, caused vertical centering issues 2012-11-13 09:37:27 -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 d6d0f40c5e add grunt.js build file (closes #235) 2012-11-11 10:01:05 -05:00
Hakim El Hattab 403cb5a8c4 fix issue with dependency loader callbacks 2012-11-10 19:14:16 -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 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 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
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 9da9726403 only call slide() if route is available in navigate methods (closes #213) 2012-10-28 17:30:55 -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
Michael Kühnel 40c899ec56 Cherry picking from branch fix-fragments-in-speakernotes
Change source from reveal.min.js to reveal.js for testing purposes.

Add nextFragment and previousFragment to the API:
Making it possible to call the methods Reveal.nextFragment()
and Reveal.previousFragment() from »outside«.

Update README.md:
Add the new API Methods Reveal.prevFragment() and Reveal.nextFragment()
2012-10-23 21:56:56 +02:00
Russell Beattie b373425b69 Updated Controls to use CSS triangles rather than unicode triangles (fix Android support) 2012-10-22 14:49:22 -07:00
Hakim El Hattab 8bdeb360ce clean up trailing whitespace (closes #197) 2012-10-20 21:05:14 -04:00
Hakim El Hattab 3241cb78d8 progress bar can now be clicked to navigate (closes #181) 2012-10-20 12:51:12 -04:00
Hakim El Hattab ecb4347ec1 modularize themes and convert them to sass (closes #191) 2012-10-20 10:57:51 -04:00
Hakim El Hattab 551c783b72 fix issue in browsers that don't support classList 2012-10-17 23:01:41 -04:00
Hakim El Hattab 3a2036e2b2 add 'ready' event (#182) 2012-10-17 00:20:42 -04:00
Hakim El Hattab 470cabaea8 new shorter api method names (closes #178), restructured and cleaned up core js 2012-10-14 21:02:32 -04:00
Hakim El Hattab e15beb47f0 merge full screen key binding (f) 2012-10-14 20:17:49 -04:00
Hakim El Hattab 86a907e8cc enable pinch to zoom interaction if overview is disabled (#175) 2012-10-14 19:58:24 -04:00
Michael Kühnel 2869f8a4ee Add fullscreen mode
Handling the fullscreen functionality via the fullscreen JavaScript API.

Press »f« on the keyboard to enter fullscreen mode.
2012-10-14 10:26:40 +02:00
Hakim El Hattab 6e0d0e279d roll back attr name change, just lowercase (#170) 2012-10-13 12:13:26 -04:00
Hakim El Hattab 421b78aafb ability to define autoSlide duration per slide 2012-10-13 12:04:33 -04:00
Hakim El Hattab ed1db1f3c8 Merge branch 'master' of https://github.com/functino/reveal.js 2012-10-13 11:44:54 -04:00
Hakim El Hattab 6619bc62bd add zoom transition 2012-10-13 10:28:34 -04:00
Hakim El Hattab c34be2e976 default config value for theme is null 2012-10-13 00:17:45 -04:00
ageier f6bae66089 Make it possible to customize autoSlide for each slide 2012-10-11 19:18:17 +02:00
Hakim El Hattab f22e5f85e8 new paused mode feature (closes #144), controls and progress DOM elements are no longer required in HTML 2012-10-08 00:08:50 -04:00
Hakim El Hattab 43c8990f2b prevent touchmove default action on android (#143) 2012-10-04 09:32:20 -04:00
Hakim El Hattab 7d5c8b550d add override flag to overview toggle, code cleanup 2012-10-04 08:56:43 -04:00
Hakim El Hattab e014daa4f5 facility for css shader transitions, add css shader based tile-transition 2012-09-30 17:51:04 -04:00
Hakim El Hattab eda54dcf7a main.css > reveal.css 2012-09-28 09:28:26 -04:00
Hakim El Hattab a1e73b78ef code comments, remove needless nodelist > array conversion 2012-09-21 09:27:31 -04:00
Hakim El Hattab edb2051529 2.0 is stable, update to 2.1 2012-09-21 09:18:55 -04:00
Hakim El Hattab c904cef864 add option for disabling overview mode (closes #145) 2012-09-21 08:58:21 -04:00
Hakim El Hattab 024105fbbc fix mixed spaces & tabs, remove unused feature test, add missing ; 2012-09-16 21:47:07 -04:00
Hakim El Hattab be657e0943 add rvl.io to readme and template slide 2012-09-09 22:04:50 -04:00
Sinetheta 495cb98005 changed theme file swap to be relative to theme file instead of slide-deck 2012-08-30 14:30:29 -07:00
Hakim El Hattab 0c06469d82 prevent same theme from loading repeatedly 2012-08-30 01:13:25 -04:00
Hakim El Hattab 90f343e5bd add theme config option, add sky theme, fix line-height of <small> 2012-08-30 00:59:51 -04:00
Hakim El Hattab 141d69469c support for named links (closes #55) 2012-08-20 22:13:00 -04:00
Hakim El Hattab 5bd5ac67a4 fix bug that caused vertical stacks to shift unexpectedly in overview (closes #122) 2012-08-17 00:40:12 -04:00
Hakim El Hattab 49e8e0d205 rewrote initialization code for clarity and brevity (#105) 2012-08-11 20:25:55 -04:00
Hakim El Hattab 1279cb4286 1.5 > 2.0 (#105) 2012-08-09 00:49:57 -04:00
Hakim El Hattab 25ad8adc68 themes are now available as separate css files under css/theme/, old theme option in config is no longer supported (closes #104) 2012-08-08 01:14:12 -04:00
Hakim El Hattab aca177cdf8 fix order of options extend and listener binding (closes #102) 2012-08-06 15:15:41 -03:00
Hakim El Hattab c448789016 fix overview slide positioning bug (closes #89) 2012-08-04 18:16:41 -04:00
Hakim El Hattab f350c6a5cd support for PDF export in chrome (closes #92) 2012-08-04 15:45:13 -04:00
Hakim El Hattab 7101c2408d less horizontal padding for slides 2012-08-04 14:13:41 -04:00