浏览代码

enforce max width/height on iframes (#244), disabled mouse wheel navigation by default

Hakim El Hattab 12 年之前
父节点
当前提交
c61dc00a98
共有 5 个文件被更改,包括 5 次插入4 次删除
  1. 1 1
      README.md
  2. 2 1
      css/reveal.css
  3. 0 0
      css/reveal.min.css
  4. 1 1
      js/reveal.js
  5. 1 1
      js/reveal.min.js

+ 1 - 1
README.md

@@ -83,7 +83,7 @@ Reveal.initialize({
 	autoSlide: 0,
 
 	// Enable slide navigation via mouse wheel
-	mouseWheel: true,
+	mouseWheel: false,
 
 	// Apply a 3D roll to links on hover
 	rollingLinks: true,

+ 2 - 1
css/reveal.css

@@ -176,7 +176,8 @@ body {
 }
 
 /* Preserve aspect ratio and scale image so it's bound within the section */
-.reveal img {
+.reveal img,
+.reveal iframe {
 	max-width: 100%;
 	max-height: 100%;
 }

文件差异内容过多而无法显示
+ 0 - 0
css/reveal.min.css


+ 1 - 1
js/reveal.js

@@ -42,7 +42,7 @@ var Reveal = (function(){
 			autoSlide: 0,
 
 			// Enable slide navigation via mouse wheel
-			mouseWheel: true,
+			mouseWheel: false,
 
 			// Apply a 3D roll to links on hover
 			rollingLinks: true,

文件差异内容过多而无法显示
+ 1 - 1
js/reveal.min.js


部分文件因为文件数量过多而无法显示