Commit Graph

455 Commits

Author SHA1 Message Date
Hakim El Hattab
26e9ce1ff7 avoid creating duplicate auto-slide controls #770 2014-02-16 17:37:59 +01:00
Hakim El Hattab
2aef97584a update (c) year 2014-02-16 17:12:05 +01:00
Armand Abric
44e6f7ace0 Increase Logitech R400 remote compatibity. 2014-02-07 19:04:46 +01:00
Cristiano Cortezia
d9513b34d5 Fixes bad NaN applied to style on updateParallax.
The previous criteria "verticalSlideCount > 0" would result
in verticalOffset being NaN when verticalSlideCount == 1.

This would cause dom.background.style.backgroundPosition to
be set to something like "123px NaNpx", ultimately preventing
the parallax effect to play (silently failing so far).
2014-01-16 14:44:32 -02:00
Hakim El Hattab
6215b12f6e naming/comment tweak 2013-12-21 18:12:02 +01:00
Hakim El Hattab
a97d73167d simplify how data-autoslide is picked up from fragments #766 2013-12-21 17:54:21 +01:00
Hakim El Hattab
ed4cdaf9e7 test isAutoSliding, isAutoSliding returns false when no autoSlide value is set #766 2013-12-21 17:33:30 +01:00
Hakim El Hattab
137ddf5472 isSliding > isAutoSliding 2013-12-21 17:27:33 +01:00
rajgoel
5a8da0555c Add auto-slide API and data-autoslide for fragments 2013-12-20 16:22:32 +01:00
Hakim El Hattab
e8c7e8eddb same condition order when event listeners are added and removed 2013-12-02 23:28:43 +01:00
Hakim El Hattab
aef53061c5 code format tweaks 2013-12-02 23:23:51 +01:00
Hakim El Hattab
4a5b5c7c11 merge support for ie 11 touch 2013-12-02 23:20:26 +01:00
Hakim El Hattab
f7b612b1e4 only run vertical slide setup during startup #726 2013-11-28 09:35:04 -05:00
Hakim El Hattab
b314cf7b27 improvement to query string parsing 2013-11-27 13:16:03 -05:00
Hakim El Hattab
740f472ce2 when there is data-autoplay:ing media, prolong autoSlide to match its duration #723 2013-11-26 18:22:07 -05:00
Hakim El Hattab
cb9e507cd4 remove debug code 2013-11-26 17:41:01 -05:00
Hakim El Hattab
3be84bcbe3 code format tweaks 2013-11-26 17:32:48 -05:00
Hakim El Hattab
75845a92c3 Merge branch 'dev' of https://github.com/theone1984/reveal.js into dev 2013-11-26 17:08:43 -05:00
Hakim El Hattab
d41a5ca87f update future classes when syncing 2013-11-25 15:40:24 -05:00
Hakim El Hattab
0fb343f5bf rewrite all fragment indices on startup 2013-11-25 15:26:10 -05:00
Hakim El Hattab
3427561b64 rewrite fragment sorting to account for multiple fragments with the same index 2013-11-25 14:45:14 -05:00
Hakim El Hattab
ef82645589 remove current-fragment when leaving slide, add tests for current fragment 2013-11-23 17:13:14 -05:00
Hakim El Hattab
c33aa66666 respect original dom order of fragments with no explicit index 2013-11-21 09:22:20 -05:00
Hakim El Hattab
2faae3d95b rewrite fragment index attributes to leave no gaps between fragments 2013-11-21 09:16:40 -05:00
Hakim El Hattab
60a74ebfa3 fragments are now zero-indexed 2013-11-21 09:01:18 -05:00
Thomas Endres
08808abf04 Issue #698: Fixed tests 2013-11-19 21:10:20 +01:00
Thomas Endres
ffd8ccbffa Issue #698: Non-async script callbacks are now also called before starting Reveal 2013-11-19 20:56:51 +01:00
Thomas Endres
0ffbe8d09c Issue #698: Non-async scripts were not executed before Reveal started 2013-11-19 20:56:40 +01:00
Hakim El Hattab
9d0ac52780 fragment comments, remove debug code 2013-11-18 09:14:01 -05:00
Hakim El Hattab
8550186afc use new fragment nav method from slide() 2013-11-18 09:13:39 -05:00
Hakim El Hattab
b4e2c97d0c initial fragment rewrite 2013-11-18 09:01:33 -05:00
Hakim El Hattab
85c2a0a3c1 slide number changes; config value renamed, added to readme, moved to right side of screen 2013-11-17 17:13:26 -05:00
Hakim El Hattab
bdb46060b3 merge slide numbers, adjust code format 2013-11-17 17:05:23 -05:00
Hakim El Hattab
3653ad5b19 comments 2013-11-07 09:15:56 -05:00
Hakim El Hattab
150cb81405 data-autoslide on vertical parent now applies to all child slides #685 2013-11-07 09:12:49 -05:00
Hakim El Hattab
a119c83f86 ensure that all fragments on past slides are visible #684 2013-11-07 08:39:19 -05:00
Hakim El Hattab
778969c000 generate background hash under additional conditions 2013-11-01 12:27:09 -04:00
uriel
f1dd807f66 change SlidesNumber position and start page counter at 0 instead 1 2013-10-31 19:47:13 +02:00
uriel
dda885b71a move the slide-number out of the controls to a proper position and little fix to the updating event. 2013-10-31 00:49:07 +02:00
uriel
7b63cda19d Added slide numbers options and the css files updated as well.
the *.min.js didn't chaged yet.
2013-10-30 22:12:21 +02:00
Hakim El Hattab
fcf91ec261 fix edge case in background transitions (closes #604) 2013-10-30 13:09:46 -04:00
Hakim El Hattab
89cc3f3a29 don't transition between identical backgrounds 2013-10-30 12:22:00 -04:00
Hakim El Hattab
8cb3c279b0 don't autoplay videos in notes window #624 2013-10-28 08:45:14 -04:00
Hakim El Hattab
7cb8d96529 merge vertical centering for individual slides 2013-10-27 15:44:26 -04:00
Hakim El Hattab
97b66d1fe0 apply @knownasilya's first slide detection fix to dev branch #671 2013-10-27 15:37:29 -04:00
Hakim El Hattab
806a2f53fc build latest js, format tweaks 2013-10-27 15:27:35 -04:00
Brad Gessler
d66fe964bc Added support for postMessage's into any iframes for content that needs to do something when a slide is displayed and hidden. 2013-10-27 12:18:08 -07:00
Hakim El Hattab
f1f28f61e6 plug potential xss vector 2013-10-24 08:59:52 -04:00
Michael Ekstrand
8473394643 Support per-slide centering
If config.center is false, this change centers slides with the
'center' class.
2013-10-23 21:34:05 -05:00
Hakim El Hattab
a28cae4d68 Merge branch 'update-readme' of https://github.com/aethanyc/reveal.js into dev 2013-10-22 08:39:27 -04:00
Hakim El Hattab
d761adf002 smooth reset of auto-slide progress, fix overlapping repaint calls 2013-10-19 09:35:51 -04:00
Hakim El Hattab
2736945385 don't increase body height to try and hide address bar, caused issues in ios 7 safari 2013-10-18 09:15:22 -04:00
Hakim El Hattab
dd08b86a0f don't show auto slide controls if there's only one slide 2013-10-17 22:27:31 -04:00
Hakim El Hattab
68318407a8 resume auto-sliding when autoSlide config value changes 2013-10-17 09:17:30 -04:00
Ting-Yu Lin
4bea9bc7a8 Add various configuration options to README
Also add a description about the solarized theme.
2013-10-17 12:08:43 +08:00
Hakim El Hattab
cfb78d2ee8 replay when auto-slide controls are clicked on last slide 2013-10-13 17:14:29 -04:00
Hakim El Hattab
f318928281 fix playback controls in ie10 2013-10-13 16:00:35 -04:00
Hakim El Hattab
2de43199ef minor tweaks and comments 2013-10-13 15:38:24 -04:00
Hakim El Hattab
29c5af84be support moz and webkit prefixed requestAnimationFrame 2013-10-13 15:25:13 -04:00
Hakim El Hattab
6aaf88aae7 auto-slide playback updates, fix tap action, hide during overview 2013-10-13 15:06:30 -04:00
Hakim El Hattab
abf33e55b0 functional playback control for auto sliding 2013-10-13 14:36:27 -04:00
Hakim El Hattab
356a1cf3b7 group feature detection results in 'features' object, test for canvas and requestAnimationFrame 2013-10-13 13:08:50 -04:00
Hakim El Hattab
9fa1382508 foundation for playback component 2013-10-13 13:02:50 -04:00
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
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
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