Commit Graph

473 Commits

Author SHA1 Message Date
Hakim El Hattab
e14f5a95da prioritize closing preview when ESC is pressed 2013-10-13 11:47:04 -04:00
Hakim El Hattab
88d84e4551 override any value throguh query, deserialize values of getQueryHash #641 2013-10-11 22:33:23 -04:00
Hakim El Hattab
b455b0281d support for svg background images #632 2013-10-11 22:14:50 -04:00
Hakim El Hattab
e94f62a58f add autoSlideStoppable config value, allows autoSlide to be aborted on user input 2013-10-11 08:40:40 -04:00
Hakim El Hattab
1421934fde code style 2013-10-10 09:21:06 -04:00
olivierbloch
27bf130611 windows.navigator.pointerEnabled
for backward compatibility reasons, IE11 sets both msPointerEnabled and
pointerEnabled. Changed the order for the test and added 'else if' to
not duplicate handlers on pointer events
2013-10-01 15:15:10 -07:00
olivierbloch
e608dafaf1 IE11 Support
Added unprefixed touch-action CSS attribute
Added unprefixed pointer events handlers hooks
2013-10-01 14:06:55 -07:00
olivierbloch
27a86d261e IE 11 support
Added un-prefixed touch-action CSS attribute
added un-prefixed PointerEvents event handler hooks
2013-10-01 14:00:32 -07:00
Espen Hovlandsdal
6043756b2e Focus body when page visibility changes to ensure keyboard shortcuts are usable 2013-09-21 22:19:02 +02:00
Hakim El Hattab
1cfb4fc242 remove extravagant comment 2013-09-19 23:32:06 -04:00
Hakim El Hattab
86216ac645 use 'url()'-free path when specifying parallax image, refactor so that parallax is applied to background class, remove unused attributes #595 2013-09-15 17:45:27 -04:00
Hakim El Hattab
36061b43ba update the parallax background when the window resizes #595 2013-09-15 14:58:41 -04:00
Hakim El Hattab
8399e828db move parallax code to separate method #595 2013-09-15 14:55:23 -04:00
Hakim El Hattab
347a907041 update code style to match rest of reveal.js, disable parallax by default #595 2013-09-15 14:48:54 -04:00
Hakim El Hattab
2fc0dfa8e1 merge parallax into dev, remove default image #595 2013-09-15 14:44:45 -04:00
Hakim El Hattab
041a525a3c make hiding of address bar configurable 2013-09-11 21:55:49 -04:00
Michał Smoliński
2bd228534b Fix: no parallax scrolling in FF
Fixed problem with parallax background  not working under FF
2013-09-11 20:41:50 +02:00
Michał Smoliński
2b5c06c4ef Added parallax scrolling background 2013-09-10 21:23:10 +02:00
Hakim El Hattab
2578fddd3f enable hiding of address bar for ios chrome #582 2013-09-04 08:56:50 -04:00
Hakim El Hattab
7cd4af80a6 update progress bar to hide/show using same type of rules as controls 2013-09-03 21:55:29 -04:00
Hakim El Hattab
932a6e047b Merge branch 'master' of https://github.com/ziggystar/reveal.js into dev 2013-09-03 21:51:52 -04:00
Thomas Geier
8a468394b5 fix: links not working when controls are disabled 2013-09-03 11:10:05 +02:00
Hakim El Hattab
e9b0f5b481 minor refactoring of overview code 2013-08-26 09:20:12 -04:00
Hakim El Hattab
d62093c228 include dev flag in version 2013-08-24 15:10:10 -04:00
Hakim El Hattab
a0501a30b2 make sure isVerticalSlide doesn't throw npe 2013-08-23 09:10:11 -04:00
Hakim El Hattab
f61ee9a693 fix bug where isLastSlide sometimes incorrectly returned false 2013-08-22 19:35:28 -04:00
Hakim El Hattab
8d7e93cfc6 2.6.0 2013-08-22 19:02:16 -04:00
Hakim El Hattab
0a021845df make sure stretch works with video 2013-08-19 23:46:29 -04:00
Hakim El Hattab
0748b68335 renamed .remaining-height to .stretch #244 #490 #561 2013-08-18 17:56:41 -04:00
Hakim El Hattab
04c4fa49b8 revised remaining height layout logic 2013-08-18 17:53:41 -04:00
Hakim El Hattab
271bae6b56 allow hiding of vertical slide stacks 2013-08-18 00:01:28 -04:00
Hakim El Hattab
3dc53b891d prevent invalid slidechanged on page load 2013-08-17 12:18:48 -04:00
Hakim El Hattab
3c5f3ee048 fix retrieval of computed styles in ff 2013-08-17 12:15:55 -04:00
Hakim El Hattab
0239302f45 further work on remaining-height helper #244 #490 #561 2013-08-17 12:11:05 -04:00
Hakim El Hattab
fecee266b6 start work on logic for fitting an element to remaining slide height #244 #490 #561 2013-08-16 09:31:13 -04:00
Hakim El Hattab
ead85fd475 refactor js, more natural order of startup methods 2013-08-15 08:54:17 -04:00
Hakim El Hattab
ac3f021a14 add initial slide dom setup pass 2013-08-15 08:51:11 -04:00
Hakim El Hattab
6c0dc635a1 add util method for applying css transforms 2013-08-13 09:27:28 -04:00
Hakim El Hattab
71218583f7 add isReady method to check reveal.js loaded state 2013-08-13 08:41:16 -04:00
Hakim El Hattab
41edd914ad merge dom setup refactor #544 2013-08-11 16:47:56 -04:00
Hakim El Hattab
49298e1991 disable transitions while presentation loads 2013-08-11 16:32:15 -04:00
Hakim El Hattab
cc41aa9115 correction to view distance calculation for vertical slides 2013-08-11 16:27:52 -04:00
Hakim El Hattab
93f516d30d fix bug that caused slideshow to break if an unexisting named link was used 2013-08-11 13:44:03 -04:00
Hakim El Hattab
ffd3ea410b display more slides in overview 2013-08-11 13:42:50 -04:00
Guillaume Turri
48f5ba9367 Formatting 2013-08-11 16:34:04 +02:00
Guillaume Turri
644ae56f4f inlined method used only once 2013-08-11 16:30:08 +02:00
Guillaume Turri
e18ffa8779 Use more explicit name 2013-08-11 16:25:43 +02:00
Hakim El Hattab
81f762080b rename embed > embedded to signal that it's a state and not an action 2013-08-10 14:38:42 -04:00
Hakim El Hattab
785bee596b add embed option 2013-08-10 14:30:24 -04:00
Hakim El Hattab
0add83e9ed renamed handled flag to captured 2013-08-10 14:09:23 -04:00
Hakim El Hattab
b800d147b1 reduce touch event threshold to make it more sensitive 2013-08-10 13:42:53 -04:00
Hakim El Hattab
8222795c87 code formatting 2013-08-10 13:40:22 -04:00
Hakim El Hattab
73b69eb13d reduce overview depth on small screens 2013-08-10 13:32:19 -04:00
Hakim El Hattab
8e01c03824 make view distance configurable #527 2013-08-10 13:16:45 -04:00
Hakim El Hattab
8ad81aa1a5 delay client capability test until initialization phase 2013-08-10 13:10:48 -04:00
Hakim El Hattab
7b5e537157 much improved distance measuring logic, improves performance on mobile and fixes some crashes 2013-08-10 12:52:40 -04:00
Hakim El Hattab
e135f136c1 merge in leap plugin #554 2013-08-08 10:23:02 -04:00
Guillaume Turri
04b9e444d9 Minor refactoring
Removed some code duplication
2013-07-29 14:46:02 +02:00
Hakim El Hattab
53f1f110c8 ensure notes window fragment states are mirrored in main window #538 2013-07-26 10:03:59 -04:00
Hakim El Hattab
8bf19ab61f restore rolling links.. but default to off #532 2013-07-26 09:33:25 -04:00
Hakim El Hattab
e8d257ec77 remove 'rolling links' #532 2013-07-20 22:56:48 -04:00
Hakim El Hattab
4a68d2d6a5 correction to bug introduced via #529 2013-07-20 22:51:52 -04:00
Hakim El Hattab
8dcf324f7a only call slide() after hash changes if indices have changed #529 2013-07-19 09:35:49 -04:00
Hakim El Hattab
5cb9a58938 remove delay from url update #530 2013-07-19 09:23:22 -04:00
Hakim El Hattab
1bb810e072 add optional 'o' key to toggle overview #491 2013-07-18 21:53:00 -04:00
Hakim El Hattab
8f47bd04e6 document 'none' background transition 2013-07-16 22:46:13 -04:00
Hakim El Hattab
bf864c7a0d ensure all future fragments are invisible #473 2013-07-14 18:19:40 -04:00
Hakim El Hattab
0cb6eab979 fix initial auto-slide overridev #525 2013-07-14 17:35:49 -04:00
Hakim El Hattab
18b4cb754a typo and whitespace correction 2013-07-10 09:01:56 -04:00
Hakim El Hattab
f1234e51e1 Merge branch 'fix-notes-after-pr-435' of https://github.com/ericweikl/reveal.js 2013-06-29 21:36:35 -04:00
Hakim El Hattab
c065705128 background image tweaks 2013-06-22 19:23:44 -04:00
Hakim El Hattab
e51c0fc3ce broader image url detect (closes #500) 2013-06-20 16:46:26 -04:00
Hakim El Hattab
922b0037cd adjust background image url detection #453 2013-06-18 20:22:08 -04:00
Eric Weikl
46dd9dd817 Create a single fragment event per fragment-index
For backward-compatibility, add a new 'fragments' property to the
fragmentshown and fragmenthidden events. The 'fragment' property still
returns the first fragment.
2013-06-18 18:33:03 +02:00
Hakim El Hattab
c3da106363 rename 'linear' background transition to 'slide' 2013-06-18 08:40:05 -04:00
Hakim El Hattab
eb5b39e685 support for background transition overrides 2013-06-18 08:37:06 -04:00
Hakim El Hattab
b0b6c75629 mouse wheel tweaks (closes #454) 2013-06-16 19:55:58 -04:00
Hakim El Hattab
b6e3568f52 minify js for #493 2013-06-16 19:36:23 -04:00
Hakim El Hattab
4fde6124e6 merge navigate prev fix #493 2013-06-16 19:33:57 -04:00
Rick Lupton
d355a04061 Fix jshint test 2013-06-16 22:25:37 +01:00
Hakim El Hattab
56595d65cf keyboard config object support #405 2013-06-16 11:49:51 -04:00
Rick Lupton
510839ab04 Fix navigatePrev() past beginning of stack: fixes issue #463.#463.#463.
Previously navigatePrev() was changing indexh and indexv; instead should
call slide(h, v) and let it change indexh and indexv.
2013-06-14 15:12:56 +01:00
Hakim El Hattab
7094f44eb9 merge conflicts w preview & backgrounds 2013-06-10 16:53:41 -04:00
Hakim El Hattab
c3b91560c7 match background and transition slide transition easing equations 2013-06-10 08:59:58 +02:00
Hakim El Hattab
abb4ca8f2d rtl support for new sliding backgrounds 2013-06-10 08:55:59 +02:00
Hakim El Hattab
8e348af8b8 pluralize background classname to match '.slides' 2013-06-10 08:49:53 +02:00
Hakim El Hattab
1c16148c09 set 'hidden' attribute on all slides except the present (#457) 2013-06-09 17:15:40 +02:00
Hakim El Hattab
aa9e298f3d update code style to match after merge 2013-06-09 16:47:27 +02:00
Hakim El Hattab
033f3ab169 merge fix for embedded media repeated autoplay 2013-06-09 16:44:03 +02:00
Hakim El Hattab
4d164dc5b6 revamp pdf printing to support per-slide backgrounds (closes #453) 2013-06-09 16:12:50 +02:00
Chris Lawrence
d3ebbf1be7 Only call embedded content bits if the slide actually changed. 2013-06-08 05:45:48 -04:00
Hakim El Hattab
0ce57f1f91 update background test, documented slide backgrounds in readme (#453) 2013-06-04 21:14:17 +02:00
Hakim El Hattab
544e090bd1 allow control over background color when using images (#453) 2013-06-04 20:25:47 +02:00
Hakim El Hattab
15f24f7a9a linear sliding transition option for full page backgrounds (#453) 2013-06-04 20:15:19 +02:00
Hakim El Hattab
c11e8f624f support for optional background property overrides (#453) 2013-06-04 19:58:50 +02:00
Hakim El Hattab
bfadfcc7ce don't transition to first slide background (#453) 2013-06-04 19:51:06 +02:00
Hakim El Hattab
f3f5d7780a started the new per-slide background implementation (#453) 2013-06-04 19:42:33 +02:00
Hakim El Hattab
8b355eaba0 support vertical align of slides with absolute children 2013-05-20 00:29:34 -04:00
Hakim El Hattab
de551634c6 initial implentation of preview frame, add semi-fade fragment style, data-full-height support 2013-05-20 00:18:48 -04:00
Hakim El Hattab
f5155ed2a1 upgrade to 2.5.0 2013-05-12 09:45:20 -04:00
Hakim El Hattab
5642b8d5d3 fix previousFragment, was hiding in reverse order #435 2013-05-05 18:59:17 -04:00
Hakim El Hattab
db4eb20bc3 merge notes float fix and support for multiple fragments with same index 2013-05-05 18:44:10 -04:00
Hakim El Hattab
6b6c87db97 add data-start-indexv #427 2013-05-05 18:40:08 -04:00
Nigel Stanger
76fce3b4d9 Support for multiple elements with same data-fragment-index
When multiple elements are specified with the same data-fragment-index,
they are all shown or hidden at once.
2013-05-02 12:26:23 +12:00
Raymond Camden
b649c19af9 Moved my code to auto escape html to the right place 2013-05-01 14:44:53 -05:00
Raymond Camden
0441c26be1 Adds support for auto escaping HTML in code blocks. 2013-05-01 14:29:56 -05:00
Hakim El Hattab
36a8f12127 add isVerticalSlide utility method 2013-04-29 22:07:09 -04:00
Hakim El Hattab
0306e0fa0d greatly improved rtl, slides and progress are now reversed #339 2013-04-29 21:54:39 -04:00
Hakim El Hattab
06d0579610 only auto-play media when data-autoplay is set (#388) 2013-04-27 18:36:29 -04:00
Hakim El Hattab
ed4a8b51c5 auto play/pause youtube video when entering/leaving slide (#388) 2013-04-27 18:32:56 -04:00
Hakim El Hattab
32736a791c auto play/pause html5 media when entering/leaving slide (#388) 2013-04-27 18:27:34 -04:00
Hakim El Hattab
18795c161f add config option for disabling all fragments 2013-04-27 18:03:06 -04:00
Hakim El Hattab
6cfc6ecc49 available fragment routes reflected in control arrows (closes #411) 2013-04-27 17:35:17 -04:00
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
92e605c69d new build for autoslide pr 2013-03-17 08:16:29 -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
Hakim El Hattab
7605046e83 update version to 2.4 2013-03-17 08:10:04 -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