Commit Graph

717 Commits

Author SHA1 Message Date
Hakim El Hattab
fc568b5524 Merge branch 'patch-1' of https://github.com/jhofker/reveal.js into dev 2015-03-02 12:10:26 +01:00
Hakim El Hattab
53b9dbc654 code format 2015-02-25 15:52:10 +01:00
Hakim El Hattab
a245a87e38 Merge pull request #1138 from denehyg/background-video-loop
background video loop
2015-02-25 15:48:48 +01:00
Hakim El Hattab
f772c7eb50 fix progress bar clicks in rtl mode #1131 2015-02-25 13:31:41 +01:00
Hakim El Hattab
ea735f0a2f ensure postmessage data is a string #1143 2015-02-25 13:26:53 +01:00
Hakim El Hattab
4c0a033dfa merge options for parallax step size #733 2015-02-25 12:10:00 +01:00
Jordan Hofker
76c5726c04 Check before calling blur on activeElement.
It's possible for slides to be in a situation where the last clicked thing was an SVG before the tab/window loses focus. When returning, `.blur()` is called on the previously-active element, but can result in an exception.

This protects against that and will only call `.blur()` when `document.activeElement` supports it.
2015-02-19 16:09:08 -06:00
Greg Denehy
00fa1c818d Added option to loop background videos 2015-02-19 17:04:41 +10:30
Hakim El Hattab
2ed1d6fb5d fix looped view distance calculation 2015-02-09 09:35:12 +01:00
Hakim El Hattab
a4852c7cb2 prevent iframes from offsetting presentation 2015-02-03 11:56:54 +01:00
Hakim El Hattab
1c8a6e47a6 only preload last slides if presentation is looped 2015-02-02 09:14:09 +01:00
Hakim El Hattab
49f462e6ce gifs now restart when their slide container is shown 2015-01-30 10:52:28 +01:00
Hakim El Hattab
8e66876c4e fix error when exiting overview 2015-01-29 12:21:05 +01:00
Hakim El Hattab
c8d7451142 comments 2015-01-29 12:03:02 +01:00
Hakim El Hattab
18e29a898a cleaner approach to applying transforms to slides container 2015-01-29 11:59:47 +01:00
Hakim El Hattab
64e72781b4 ensure overview indices are up to date if a slide moves 2015-01-28 08:33:50 +01:00
Hakim El Hattab
c8569e2d9f cross browser adjustments for overview mode 2015-01-27 19:27:55 +01:00
Hakim El Hattab
e29c706533 further overview refactoring 2015-01-27 09:21:49 +01:00
Hakim El Hattab
11293d7c94 refactoring and optimization of overview mode 2015-01-26 20:38:21 +01:00
Hakim El Hattab
9e14b261ea fix for #1088 when presentation is not scaled 2015-01-19 08:41:26 +01:00
Hakim El Hattab
e0aba9f5ae apply z position to slide container, rather than individual slides 2015-01-17 10:33:18 +01:00
Hakim El Hattab
99d92362c8 no longer set o-transforms 2015-01-16 16:15:28 +01:00
Hakim El Hattab
b71705c76f background images now work in overview mode #1088 2015-01-16 16:12:54 +01:00
Hakim El Hattab
5fb81b1b3c support for custom slide number formatting #965 2015-01-16 13:48:13 +01:00
Hakim El Hattab
817bb3bf43 use getElementByID when looking up linked slides #1086 2015-01-15 11:25:20 +01:00
Hakim El Hattab
9a89e39367 only read textContent for aria callout #1100 2015-01-14 17:01:28 +01:00
Hakim El Hattab
40f12acf2d always play background video from the start #1049 2015-01-06 12:49:52 +01:00
Hakim El Hattab
21d034bffe reveal container size determines progress bar width 2015-01-06 09:32:21 +01:00
Hakim El Hattab
0e0a4ec6e6 avoid repetition 2015-01-05 09:51:36 +01:00
Hakim El Hattab
9c3a7b49d0 (c) 2015 2015-01-05 09:40:53 +01:00
Hakim El Hattab
5bdbc2dc7b remove deprecated data-state background colors 2014-12-27 21:27:53 +01:00
Hakim El Hattab
abf402d044 change transition defaults 2014-12-27 21:16:54 +01:00
Hakim El Hattab
7c03d60186 remove theme config option #1061 2014-12-18 17:45:51 +01:00
Hakim El Hattab
05403bcf16 first revision of new default theme #1018 2014-12-10 18:19:04 +01:00
Hakim El Hattab
8c76f85e34 reorder scale condition; if calculated scale is exactly 1 don't apply any scale styles 2014-11-08 09:06:17 +01:00
Hakim El Hattab
54e44ef4e2 add missing condition for recalculating scale 2014-11-06 19:19:14 +01:00
Hakim El Hattab
96b1ee9c39 ignore calculating scale if only possible outcome is 1 2014-11-05 19:28:09 +01:00
Hakim El Hattab
d84233df98 default to slide transitions 2014-11-05 12:28:09 +01:00
Jaan Pullerits
82a692c394 Do not add video backgrounds to speaker notes. 2014-10-24 12:35:49 +00:00
Hakim El Hattab
16f9e95d87 update slide bg example presentation to include iframes and videos #1029 2014-10-17 08:52:38 +02:00
Hakim El Hattab
fa88707382 Merge branch 'feature/background-iframe' of https://github.com/lutangar/reveal.js into dev 2014-10-17 08:43:11 +02:00
Hakim El Hattab
82342672ea fix navigatePrev in rtl mode #1030 2014-10-16 16:17:41 +02:00
Hakim El Hattab
6c7ba34edf remove styles from #1030, simplify navigatePrev 2014-10-16 15:43:29 +02:00
Hakim El Hattab
136d279361 continue auto-sliding through fragments on last slide #974 2014-10-16 13:27:58 +02:00
Ira Abramov
ccdb4ff248 Fix RTL Navigation with space bar 2014-10-11 18:59:36 +03:00
lutangar
490ae90de4 add support for iframe backgrounds 2014-10-09 12:34:10 +02:00
Hakim El Hattab
03c3031cb4 cleanup classes when backgrounds are synced 2014-09-10 11:28:29 +02:00
Hakim El Hattab
0d14d87f1a rgba color parsing support, ignore brightness of transparent colors 2014-09-10 10:53:24 +02:00
Hakim El Hattab
41f20301b6 has-dark-background 2014-09-10 10:12:25 +02:00
Hakim El Hattab
bc2974fef8 bubble has-light-background to .reveal container 2014-09-09 17:51:36 +02:00
Hakim El Hattab
2479883d3c is-light-background -> has-light-background, doesn't apply to background itself 2014-09-09 17:33:52 +02:00
Hakim El Hattab
9fb0c5f3d3 use computed style when calculating bg birghtness 2014-09-09 17:18:15 +02:00
Hakim El Hattab
20e72df4bf add is-background-light class to slides/backgrounds that are > 128 brightness 2014-09-09 16:50:23 +02:00
Hakim El Hattab
8a50a46665 util methods for calculating color brightness 2014-09-09 16:14:24 +02:00
Hakim El Hattab
cbef64b860 fix current fragment index check when multiple fragments have same index 2014-09-06 08:20:38 +02:00
Hakim El Hattab
2cd988a7a3 fix previewLinks target 2014-09-04 18:00:21 +02:00
Hakim El Hattab
80c375fae8 the paused mode can now be disabled via the 'pause' config option 2014-08-12 16:01:27 +02:00
Hakim El Hattab
57844ad827 listen for touch + click on all devices except android 2014-07-06 14:31:10 +02:00
Hakim El Hattab
213c8d1354 fix double-navigation on touch for some android systems 2014-06-28 12:58:33 +02:00
David Banham
a078c87f10 Listen to custom mapped togglePause keys
This resolves issue #941
2014-06-25 23:22:13 +10:00
Hakim El Hattab
7e8fd09376 fix npe 2014-06-25 13:56:24 +02:00
Hakim El Hattab
ef333300a2 prevent additional inaccurate showSlide calls 2014-06-25 11:50:45 +02:00
Hakim El Hattab
8cb8229aac prevent incorrect showSlide calls at startup 2014-06-25 11:44:10 +02:00
Hakim El Hattab
c6b9da7000 more specific targeting for pdf printing hack 2014-06-18 18:42:45 +02:00
Calyhre
ed8d90bc58 Fix tests 2014-06-18 14:23:42 +02:00
Calyhre
4e70cf8126 Add ability to prevent swipe for specific elements 2014-06-18 14:18:41 +02:00
Hakim El Hattab
e4761d3a37 only allow text in aria status div 2014-06-18 10:50:00 +02:00
Hakim El Hattab
ebfb496743 config option for disabling the help overlay 2014-06-16 18:46:38 +02:00
Hakim El Hattab
2e0fe815a6 fix append to existing embed query 2014-06-12 18:27:52 +02:00
Hakim El Hattab
a7a32f941c vimeo support for autoplay/pause 2014-06-12 18:20:15 +02:00
Hakim El Hattab
af61d9d10b rewrite youtube iframe embeds to force ?enablejsapi=1 (fixes #856) 2014-06-12 18:15:32 +02:00
Hakim El Hattab
f5ac0b35d1 toggle instead of always showing the help overlay when ? is pressed 2014-06-09 18:24:47 +02:00
Hakim El Hattab
645734832d adjust list of displayed key shortcuts #943 2014-06-09 17:53:14 +02:00
Hakim El Hattab
9ff00a72ae merge and tweak key shortcuts overlay #943 2014-06-09 17:35:46 +02:00
Hakim El Hattab
d539c645c3 Merge branch 'keyboard_shortcuts_overlay' of https://github.com/navateja/reveal.js into dev 2014-06-09 12:21:01 +02:00
Hakim El Hattab
0a58df8390 don't trim aria status 2014-06-09 11:36:28 +02:00
Hakim El Hattab
943b6ef37e merge and tweak screen reader support #854 2014-06-09 11:20:46 +02:00
navateja
594d9f6d85 Merge remote-tracking branch 'upstream/dev' into keyboard_shortcuts_overlay 2014-06-09 14:44:36 +05:30
navateja
ab7efe6bf2 creates a new branch for the feature 2014-06-09 14:35:59 +05:30
nava teja
75a53da9e5 Shows keyboard shorcuts overlay on pressing question mark 2014-06-08 00:59:29 +05:30
Hakim El Hattab
8973f0c3e1 typo #938 2014-06-05 10:59:30 +02:00
Hakim El Hattab
c5daba6a1f write current hash when history is toggled on #934 2014-06-05 10:43:25 +02:00
Hakim El Hattab
6d1a66c2bc fix search & replace error 2014-05-30 08:12:57 +02:00
Hakim El Hattab
9c96a56e33 adjust check for focused text inputs 2014-05-29 10:36:56 +02:00
Hakim El Hattab
09bddce427 limit scope of all slide selectors, avoids multiple .reveal classes on one page causing errors 2014-05-24 15:23:03 +02:00
Hakim El Hattab
ba00afbc38 only use zoom to scale in chrome 2014-05-21 10:08:23 +02:00
Hakim El Hattab
c1ea5282e1 fix data-autoplay on first slide 2014-05-20 08:53:25 +02:00
Hakim El Hattab
8c9c0ab0a6 validate named links according to html id spec #914 2014-05-20 08:14:55 +02:00
Hakim El Hattab
c974756326 relax keyboard blocking condition #899 2014-05-17 16:00:40 +02:00
Hakim El Hattab
b9d25057d6 Merge branch 'fix-isFirstSlide' of https://github.com/fabianorosas/reveal.js into dev 2014-05-14 08:50:28 +02:00
Hakim El Hattab
54c3c23e36 fix bug in retrieval or background images while in pdf mode 2014-05-10 11:18:13 +02:00
fabiano
ffecac6df3 == --> === 2014-05-09 16:11:04 -03:00
fabiano
cb4fe35bac fixed a problem in the function isFirstSlide
when visiting a vertical slide and then going back to the first slide, the function would return false.
made it more fail proof by checking the indices directly.
2014-05-09 15:58:56 -03:00
Hakim El Hattab
c4e202cd0f fix edge case in singleton node creation 2014-05-07 22:02:05 +02:00
Hakim El Hattab
f31f0ffa70 createSingletonNode now ensures found nodes are in the correct container 2014-05-07 21:47:47 +02:00
Hakim El Hattab
5e85f02eb1 ensure default can be prevented 2014-05-04 09:32:10 +02:00
Hakim El Hattab
54e256764c limit size of media elements when printing to pdf 2014-05-04 08:29:45 +02:00
Hakim El Hattab
1b236bdf21 wait for document to load before triggering pdf layout 2014-04-29 13:40:55 +02:00
Hakim El Hattab
2ac0a55ccf ensure pdf pages are never zero-height 2014-04-29 13:30:56 +02:00
Hakim El Hattab
eec14b9c92 pdf background size rounding error 2014-04-29 10:47:05 +02:00
Hakim El Hattab
fbf999ec81 null check background 2014-04-28 12:31:34 +02:00
Hakim El Hattab
9873839a50 fix issue with background images on first vertical sldie 2014-04-28 11:51:21 +02:00
Hakim El Hattab
9f0224adf9 update visibility of slides as part of sync 2014-04-28 10:59:31 +02:00
Hakim El Hattab
02725cf728 prefer scaling over zooming on mobile devices 2014-04-28 10:41:31 +02:00
Hakim El Hattab
fcec8d058d fix lazy loading bug related to data-background-image attribute 2014-04-28 09:58:13 +02:00
Hakim El Hattab
fa2413ec73 fix slide transitions in iOS 2014-04-28 09:45:02 +02:00
Hakim El Hattab
b42fae96e5 load all images directly when in 'no-transform'-mode 2014-04-28 09:13:57 +02:00
Hakim El Hattab
6aaff6395a merge umd wrapping 2014-04-27 20:38:20 +02:00
Hakim El Hattab
860580d4d0 getSlideBackground now works in pdf mode, add pdf tests 2014-04-27 17:31:50 +02:00
Hakim El Hattab
41e1e013b8 better defered loading of background media 2014-04-27 15:55:57 +02:00
Hakim El Hattab
7158c12eff lazy load all slide backgrounds 2014-04-27 15:39:11 +02:00
Hakim El Hattab
c58096ea99 disregard v index when there is no vertical slides/backgrounds in getSlide/getSlideBackground 2014-04-27 15:04:37 +02:00
Hakim El Hattab
902e36c022 break showing/hiding of slides into separate methods 2014-04-27 14:54:23 +02:00
Hakim El Hattab
eea437f4be new api method: getBackgroundSlide 2014-04-27 14:47:02 +02:00
Hakim El Hattab
ddfb0aa86f abide by configured width/height when printing to pdf 2014-04-26 21:42:16 +02:00
Hakim El Hattab
e7d82f1316 fix transitions in firefox 2014-04-26 20:23:40 +02:00
Hakim El Hattab
ae962d729b fix non-pdf printing (closes #881) 2014-04-26 19:16:10 +02:00
Hakim El Hattab
b019604531 Merge branch 'feature/print' into dev 2014-04-26 18:21:39 +02:00
Hakim El Hattab
1e5ca748a4 enable reveal.js keyboard shortcuts anywhere in notes window 2014-04-26 11:36:03 +02:00
Hakim El Hattab
b797bbb61b readme update, kill event listeners when printing pdf 2014-04-26 11:02:54 +02:00
Hakim El Hattab
704022d948 simplify pdf layout 2014-04-26 10:22:18 +02:00
Hakim El Hattab
2f90e9198d some more flexibility for pdf export sizes 2014-04-26 09:34:58 +02:00
Hakim El Hattab
059cca6fa4 abide by configured slide width when exporting to pdf 2014-04-26 08:51:33 +02:00
Hakim El Hattab
3adaed2a1e allow tall slides to spread over pages in pdf export 2014-04-26 08:26:20 +02:00
Hakim El Hattab
a49a78c454 remove needless condition 2014-04-23 21:18:13 +02:00
Hakim El Hattab
646203f038 revert from flexbox for pdf centering, use js for PDF setup 2014-04-23 19:47:41 +02:00
Hakim El Hattab
54ca9edeed lazy load support for iframes #793 2014-04-23 15:36:22 +02:00
Hakim El Hattab
53238c47ce null and type check what comes through postmessage 2014-04-22 19:01:59 +02:00
Hakim El Hattab
73f96f1d28 lazy-load support for audio #793 2014-04-22 16:10:08 +02:00
Hakim El Hattab
bbd596e434 lazy loading support for video #793 2014-04-22 15:52:44 +02:00
Hakim El Hattab
343765b7ab images with data-src attribute are now lazy-loaded #793 2014-04-22 15:41:08 +02:00
Hakim El Hattab
5d39b5eabf carry slide classes over to generated background elements 2014-04-22 15:16:53 +02:00
Hakim El Hattab
ce05138f9a dont toggle paused/overview modes needlessly when setting state 2014-04-22 14:06:58 +02:00
Hakim El Hattab
4a39aecbab prevent repeated autoslidepaused/resumed events 2014-04-20 10:52:27 +02:00
Hakim El Hattab
ce31184bf3 split postmessage config into two options 2014-04-19 10:53:33 +02:00
Hakim El Hattab
fea11d24bc add config option for postMessage features 2014-04-18 20:07:08 +02:00
Hakim El Hattab
a4b09aecda bubble all reveal.js events to parent window through postMessage 2014-04-18 20:03:50 +02:00
Hakim El Hattab
11ea0aa3e1 postmessage plugin is now part of reveal.js core 2014-04-18 13:56:51 +02:00
Hakim El Hattab
3b111a1cd4 add support for custom keyboard availability condition 2014-04-13 11:55:06 +02:00
Hakim El Hattab
731598f7c8 make all slides 'present' while printing 2014-04-11 09:40:44 +02:00
Michael Williams
c67e6d2e49 build reveal.min.js 2014-04-08 17:08:43 -07:00
Michael Williams
613a05f154 add UMD support. fix #787 2014-04-08 17:08:21 -07:00
Nawaz
e70d07b45d Change innerHTML to textContent to avoid video replays inside status Div, for not text content is enough 2014-04-07 10:49:07 +05:30
Hakim El Hattab
a3d4afeeed better transition names, fix background images in vertical slides 2014-04-06 11:04:58 +02:00
Hakim El Hattab
3aaca471b1 stop tracking minified files #783 2014-04-06 10:09:25 +02:00
Hakim El Hattab
d45892ff32 next release will be 3.0.0 2014-04-06 10:03:46 +02:00
Hakim El Hattab
1d13760f0e only use zoom to scale content in webkit 2014-04-04 11:35:54 +02:00
Hakim El Hattab
170aa31d6f video background playback 2014-04-04 09:22:15 +02:00
Hakim El Hattab
43bf882d08 revamped and greatly simplified the layout of .slides 2014-04-03 11:58:15 +02:00
Hakim El Hattab
9e78fe3ee2 Merge branch 'dev' of github.com:ht push origin akimel/reveal.js into dev 2014-04-01 09:14:43 +02:00