This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

".slide" instead of "section" for slide resize solves issue in older …

…firefox and ie
  • Loading branch information...
dmfrancisco committed Aug 3, 2011
1 parent f1c9673 commit f9af3731130aaf9532918153cb45e4bd3257f006
Showing with 3 additions and 3 deletions.
  1. +3 −3 lib/html-slides.js
View
@@ -97,9 +97,9 @@ var htmlSlides = {
width = height * settings.slideWidth / settings.slideHeight;
}
var zoom = width * 100 / settings.slideWidth;
- $("section").css("width", settings.slideWidth + "px");
- $("section").css("height", settings.slideHeight + "px");
- $("section").css("zoom", zoom + "%");
+ $(".slide").css("width", settings.slideWidth + "px");
+ $(".slide").css("height", settings.slideHeight + "px");
+ $(".slide").css("zoom", zoom + "%");
});
$(window).resize();
},

0 comments on commit f9af373

Please sign in to comment.