Commit Graph

1122 Commits (2e805c91932627590b93281f5d365e4d99bca322)

Author SHA1 Message Date
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 73328cfd48 Apply latest change to the minified version
Using the latest Uglify JS with --no-seqs and deleting 'use strict' statement for use in production.
2012-10-24 14:57:20 +02: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
Hakim El Hattab aefe981040 use borders to generate control arrows (closes #137) 2012-10-22 23:16:14 -04: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 aed06772f6 Apply latest change to the minified version
Using the latest Uglify JS with --no-seqs
2012-10-14 11:08:50 +02: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 82b4658faf use minified version of js 2012-08-07 01:27:22 -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
Hakim El Hattab 4821c7b814 use mq to reduce font size for low resultions, max limit on width for slides set to 900px (closes #49) 2012-08-04 13:54:17 -04:00
Hakim El Hattab b6b572d185 correct copy year 2012-08-03 23:15:34 -04:00
hakimel 2c3a494eaa disable 3d links in ie, reorder script loading in index for readability (closes #95) 2012-08-03 22:41:31 -04:00
hakimel 75546e8962 fix disappearing 3d hover in chrome 2012-08-03 22:02:16 -04:00
hakimel 9a657e2676 ie8 support (closes #96) 2012-08-03 21:50:06 -04:00
hakimel 6bc92af17c add eot font for ie 2012-08-03 21:21:49 -04:00
Hakim El Hattab 0a440cee6c modified data-markdown to support markdown indented with tabs 2012-07-31 23:47:09 -04:00
Hakim El Hattab 696346dccb added slide announcing markdown support (#15) 2012-07-31 01:35:25 -04:00
Hakim El Hattab 19852772fe support for data-markdown (#15) 2012-07-31 01:13:33 -04:00
Hakim El Hattab e9b874112e fixes bug where the .present class remained on previous slide (closes #88) 2012-07-26 23:22:15 -04:00
Hakim El Hattab e570265a67 adds new api methods (getCurrentSlide, getPreviousSlide, getIndices) closes #73 2012-07-26 22:54:36 -04:00
Hakim El Hattab e50370c251 1.4 is now stable, increment master to 1.5 2012-07-20 22:52:08 -04:00
Hakim El Hattab 0ef90e0dcf 'keyboard' config option for disabling keyboard navigation (closes #84) 2012-07-20 22:20:33 -04:00
Hakim El Hattab 7f9662edab null check progress DOM element even if it's configured to be on 2012-07-20 22:09:56 -04:00
Tobi Reiss dd6c605826 Remove assignment to `indexv` and `indexh` to trigger 'onslidechange' at startup and onhashchange. 2012-07-17 10:05:55 +02:00
Hakim El Hattab cd3fc43e77 added autoSlide option (#59), clear out list of options in index.html's initialize call 2012-07-15 19:21:47 -04:00
Hakim El Hattab 7366f607ce add beige theme, move theme class from .reveal to document element, use log instead of alert to demonstrate custom events 2012-07-12 23:08:21 -04:00
Hakim El Hattab 28ee78e7e4 remove unused copy of notes client 2012-07-04 14:35:32 -04:00
Hakim El Hattab 0e86400943 conditional loading of socket.io and the notes client js based on window host 2012-07-04 14:18:09 -04:00
Hakim El Hattab 76a60eea31 move notes client code into lib 2012-07-01 18:32:09 -04:00
Hakim El Hattab acbefa1190 tweaks to slidenotes 2012-07-01 16:56:06 -04:00
Hakim El Hattab 9608ac9d2d adjust whitespace of notes code to match rest of project 2012-07-01 16:43:43 -04:00
Hakim El Hattab eaf525c9a7 /lib restructuring 2012-07-01 16:38:49 -04:00
Hakim El Hattab bf2c95b546 Merge branch 'presenter_notes_server' of https://github.com/rmurphey/reveal.js into notes 2012-07-01 01:57:23 -04:00
Raul Hudea 1053dafc1e Send the correct element for fragmenthidden events 2012-06-20 19:12:04 +03:00
Hakim El Hattab 1f17bdd5c4 enable controls by default 2012-06-18 15:16:15 -04:00
Rebecca Murphey 8980f8accb fix socket id 2012-06-17 18:59:43 -04:00
Rebecca Murphey 677ef9919b broadcast socket id as part of slidedata 2012-06-17 18:43:54 -04:00
Rebecca Murphey 0163ffcb43 use current host/port 2012-06-17 18:43:29 -04:00
Hakim El Hattab 2d44d1e25f Merge pull request #58 from danielmitd/controls
fix JS error when controls are removed from HTML
2012-06-13 07:21:50 -07:00
Rebecca Murphey dff061f3e6 expose navigatePrev, navigateNext 2012-06-11 18:28:17 -04:00
danielmitd 9de23f022c adapt coding style 2012-06-10 11:53:44 +02:00
danielmitd 60d70f483c use config 2012-06-10 11:51:11 +02:00
danielmitd 5fba807843 controls are not necessary
no need to include the controls in html
2012-06-10 11:42:42 +02:00
Rebecca Murphey 60f2eb9fb3 taking a stab at a presenter notes server 2012-06-07 23:21:14 -04:00
Hakim El Hattab 6a03f65e97 include references to previous/current sldie DOM elements in slidechange event 2012-06-06 22:46:21 -04:00
Hakim El Hattab 2b6c61060b prevent duplicate slidechange from firing after hash change (closes #54) 2012-06-06 22:22:13 -04:00
Hakim El Hattab eb0a8cfa95 api methods for adding/removing all event listeners (#48) 2012-06-02 18:37:18 -04:00
Hakim El Hattab 6db42971ea changed selection of main container from #reveal to .reveal (closes #46) 2012-06-02 18:33:08 -04:00
Hakim El Hattab f5574e173b version 1.3 is stable, upgrade to 1.4 2012-06-02 18:18:34 -04:00
Hakim El Hattab 43da46f06b comments, tweaks and a new slide highlighting mobile support 2012-06-02 17:58:09 -04:00
Hakim El Hattab 4f08e2aeb0 support for swipe and pinch gestures #48 2012-06-02 17:45:06 -04:00
Aaron Kiersky aa8e27252d minified! 2012-06-01 13:33:10 -04:00
Aaron Kiersky 6053fe5a97 added some public access methods
Added overview toggle to allow for button-based overview toggling

Added add/removeEvents methods to allow for adding& removing event
listeners that may interfere with other libs.
2012-06-01 13:31:01 -04:00
Hakim El Hattab aaf9da450f dispatch events when visible fragment changes ('fragmentshown', 'fragmenthidden') closes #44 2012-05-31 21:31:28 -04:00
akiersky 8554050933 updated min.js to match 2012-05-30 11:13:19 -03:00
akiersky 049880dba3 fixed bug in swipe gesture interacting with links. 2012-05-30 11:11:34 -03:00
akiersky 2e024b5b3e added left, right, up, down gestures to change slides. moved window edge slide triggers to a touchend event to prevent interference of gestures 2012-05-30 09:38:26 -03:00
Hakim El Hattab eaca6465fa space and return keys can be used to exit the overview mode 2012-05-29 18:41:50 -04:00
Hakim El Hattab eccffbe859 adjust end key nav to last slide 2012-05-15 00:40:03 -04:00
Jason Finneyfrock ba6bec22c4 use home and end key 2012-05-14 14:50:37 -04:00
Hakim El Hattab 1013ff7ba5 hide address bar in mobile browsers, add apple web app meta 2012-05-06 22:05:58 -04:00
Hakim El Hattab 19b67aab13 'slidechanged' event, added Reveal.addEventListener/Reveal.removeEventListener api methods 2012-05-04 00:01:20 -04:00
hakimel ebb834f4b0 ie9 fixes, including new classList polyfill 2012-05-03 12:42:53 -04:00
Hakim El Hattab cde5362db3 added support for looped presentations 2012-04-28 12:16:56 -04:00
Hakim El Hattab eee6e5f964 merge keyboard shortcut changes 2012-04-28 11:50:22 -04:00
Michael Mahemoff 83e4a1f0ac ignore metaKey modifier too 2012-04-27 16:39:23 +02:00
Mahemoff 75380e04a9 p for previous, n for next 2012-04-27 15:16:27 +01:00
Mahemoff 1675002c7a Add new key mappings for navigation.
hjkl for directions.
space to move to next slide.
esc for 3D overview (instead of space)
2012-04-27 15:09:35 +01:00
Hakim El Hattab 27f48f6440 significantly smaller js file header, added minified js 2012-04-25 23:24:29 -04:00
Hakim El Hattab 727cbf4b25 upgrade to v 1.3 2012-04-04 01:07:34 -04:00
Hakim El Hattab 0d9a6419bb change back state event scope, document level makes more sense as that's where the state class is applied 2012-03-30 23:59:19 -04:00
Hakim El Hattab 8dc7ae85a1 adjustments to custom state events 2012-03-30 23:51:37 -04:00
Andy Matthews 2c78eea0ca Firing custom event based on data-state name. This allows developers to trigger custom javascript code on a per slide basis. 2012-03-30 06:51:54 -05:00
Hakim El Hattab 831236890c now capturing data-state on slides and lifting it to document element classList when slide is open 2012-03-30 00:13:45 -04:00
Hakim El Hattab 0cd3b8d430 merge prev/next navigation pull request with modifications 2012-03-28 01:16:16 -04:00
Catalin Buzoiu 732ed921eb Implemented correct Previous and Next navigation for both mouse scroll and wireless presenter. 2012-03-27 18:45:04 +03:00
Hakim El Hattab 87529c4adc delay hash changes to avoid transition lag in chrome and enable history by default (closes #22) 2012-03-24 12:36:34 -04:00
Hakim El Hattab b72bee3219 don't overwrite existing classes on slides (closes #23) 2012-03-24 12:27:25 -04:00
Anders b6030d5c7a added support for wireless presenter 2012-03-19 23:20:40 +01:00
Fil 81cda2145f Do not fail on other kinds of hashes 2012-03-15 18:00:26 +01:00
Hakim El Hattab ba8fc0bc35 fix reference to old 'hasClass' method 2012-02-17 23:37:14 -05:00
Hakim El Hattab 38b229a22f tweaked mouse wheel navigation 2012-01-14 19:22:27 -08:00
Hakim El Hattab 17854e892b Merge pull request #13 from naugtur/master
Mouse scroll handling
2012-01-14 19:13:19 -08:00
Hakim El Hattab 896e0b7010 removed history comment in js 2012-01-14 18:41:55 -08:00
Hakim El Hattab a30cdaaffc rolled back to classList, promoting poyfill in readme 2012-01-14 17:56:11 -08:00
Hakim El Hattab 510ac8e114 don't apply linkify effect to anchors containing images 2012-01-14 17:31:41 -08:00
Naugtur 2ae803efb6 Added support for smart scrolling through slides. Scrolling events are throttled to prevent going too far 2012-01-15 00:34:51 +01:00
Hakim El Hattab 401c554c80 removed dependency on classList (#9) 2012-01-03 22:25:15 -08:00
Hakim El Hattab 614b8cde66 scrolling fallback mode for IE < 9 2012-01-03 00:11:05 -08:00
Hakim El Hattab 02f783b68d prevent default on space press 2012-01-02 23:48:09 -08:00
Hakim El Hattab 9856f57db5 browser history updates can now be disabled via config 2011-12-30 22:33:19 -08:00
Hakim El Hattab 3fa01ab107 updated copy in slides, added one that explains transitions 2011-12-26 21:57:37 -08:00
Hakim El Hattab daecc258d7 major, non backwards compatible, restructuring of DOM tree 2011-12-26 21:29:00 -08:00
Hakim El Hattab 5b2b3fa3df changed id of 'main' container to 'reveal' 2011-12-26 19:32:00 -08:00
Hakim El Hattab bccb6e68c7 packed v1.1, upgraded to 1.2 2011-12-26 17:13:46 -08:00
Hakim El Hattab c7c7735e7a added new transitions (box/page) and a ui theme (neon) 2011-12-26 00:00:38 -08:00
Hakim El Hattab 1ac6386eef fix padding and duplicate background on vertical slides in overview 2011-12-23 21:52:35 -08:00
Hakim El Hattab b162a54c2d fix clicks on vertical slides in overview 2011-12-23 21:33:28 -08:00
Hakim El Hattab 91ff92e211 skip fragments when in overview 2011-12-23 21:22:13 -08:00
Hakim El Hattab c6a75117f6 added experimental overview mode (press SPACE) 2011-12-23 02:47:38 -08:00
Hakim El Hattab adc9ad19ce fallback on 2d transform transitions via feature detect 2011-12-23 00:36:37 -08:00
Hakim El Hattab f6dc531298 slides three or more steps away from current are now hidden 2011-12-22 22:41:19 -08:00
Hakim El Hattab 9065114ef0 progress bar is now a div and uses the same transition + easing as slides (fixes #6) 2011-12-22 21:25:15 -08:00
Hakim El Hattab bdff009c74 added optional presentation progress bar 2011-12-22 00:00:29 -08:00
Hakim El Hattab 833e298617 comments & typo correction 2011-12-21 20:22:49 -08:00
Matthew Lein 853efe5043 for contenteditable elements, don't let arrow keys work 2011-12-21 15:11:10 -05:00
Hakim El Hattab 59c9b3c596 fragments now work in vertical slides (fixes #4) 2011-12-17 12:55:25 -08:00
Hakim El Hattab 233160ff23 cleanup & comments 2011-12-04 18:55:48 -08:00
Hakim El Hattab a6453a0fb0 renamed to reveal.js, many new features, and upgraded to v1.0 2011-12-04 18:07:33 -08:00
Hakim El Hattab 40f85e43a7 added version comment 2011-06-23 09:13:47 +02:00
Hakim El Hattab 82fbaaf332 fixed issue with links on touch devices (tap wasn't working) 2011-06-23 09:05:53 +02:00
Hakim El Hattab fdd6b36f01 initial commit 2011-06-07 21:10:59 +02:00