Commit Graph

1171 Commits (c47bf217be8a3fa029d8262bd06a06083be996ee)

Author SHA1 Message Date
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
Hakim El Hattab 9947b7a532 add getTotalSlides #858 2014-04-01 09:12:41 +02:00
Nawaz 20a725222b Make revealJS screen reader friendly by announcing the contents of each slide presented 2014-03-27 16:39:27 +05:30
Hakim El Hattab 1de159c4f4 start work on video backgrounds #751 2014-03-26 15:48:28 +01:00
Hakim El Hattab ccbeaf4c32 optimization, only declare background creation method once 2014-03-26 15:20:27 +01:00
Hakim El Hattab 2a27967d4b Merge pull request #794 from Spy-Seth/dev
increase Logitech R400 remote compatibility
2014-03-25 21:41:40 +01:00
Hakim El Hattab 17d8f0b77c merge master into dev 2014-03-25 21:37:51 +01:00
Hakim El Hattab eef1636fd7 Merge branch 'dev' of https://github.com/xdhmoore/reveal.js into dev 2014-03-25 21:16:58 +01:00
Hakim El Hattab a9c2d4d663 disable transition into and out of overview mode #829 2014-03-25 17:46:10 +01:00
Hakim El Hattab da82c8ce81 limit named links to [a-zA-Z0-9\-\_\:\.] #836 2014-03-25 15:12:10 +01:00
Hakim El Hattab 3d7c21256c fix 'fragments' config option (#849) 2014-03-25 14:28:22 +01:00
Hakim El Hattab 6936c5029e correct ms fullscreen api method name #843 2014-03-25 14:00:01 +01:00
Daniel Moore 1a7732c235 More robost calculation of .stretch height 2014-03-13 18:22:30 -05:00
Hakim El Hattab 0140fd9ee6 include fragments in progress bar calculation 2014-03-13 10:32:57 +01:00
Hakim El Hattab 55dceaaa0a update (c) year 2014-03-13 09:23:45 +01:00
Hakim El Hattab 6e9a33cf1f add api method for retrieving progress 2014-03-12 22:26:31 +01:00
Hakim El Hattab 1c2f4a2e92 deserialize state values 2014-03-12 08:51:51 +01:00
Hakim El Hattab 714102c3f8 add get/setState methods for persisting and restoring presentation state 2014-03-02 12:30:55 +01:00
Hakim El Hattab 11df3547f6 change version to 2.7.0 (dev) 2014-02-28 12:13:32 +01:00
Armand Abric 0b3bae1cad Typo fix. 2014-02-18 15:24:59 +01:00
Hakim El Hattab ecce48d1c0 Merge branch 'master' of https://github.com/ccortezia/reveal.js into dev 2014-02-18 08:10:07 +01:00
Hakim El Hattab b25fa50657 remove all use of :not(.image) 2014-02-17 11:55:38 +01:00
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
Hakim El Hattab 5226321885 Merge branch 'autoslide-API-and-fragments' of https://github.com/rajgoel/reveal.js into dev 2013-12-21 17:16:51 +01:00
rajgoel 5a8da0555c Add auto-slide API and data-autoslide for fragments 2013-12-20 16:22:32 +01:00
Hakim El Hattab 6428504d6d merge table styles #761, tweak table padding 2013-12-20 10:35:21 +01:00
Hakim El Hattab 2976921adf compile assets 2013-12-20 09:48:51 +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 e6069caa86 2.6.1 #734 2013-12-02 12:24:18 +01:00
Luke Karrys 0605ab13df add parallax horizontal and vertical properties to enable non-calculated parallax offsets 2013-11-29 11:17:18 -07: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 2be89c3772 remove dev flag from version 2013-11-27 10:46:49 -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 544020bb96 use fragment name in example 2013-11-26 12:20:57 -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 c4d7b1b93f make background transition default to exact same speed as normal transitions 2013-11-09 11:41:15 -05:00
Hakim El Hattab f31644cca8 change transition easing for zooms 2013-11-08 09:29:49 -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 34a2cc5dce additional config valeus in readme, remove duplicate value, fix commas 2013-10-22 08:40:22 -04: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 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
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 3f740c8553 merge grunt update to 0.4 (#350) 2013-02-27 13:20:24 -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 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