Skip to content

Commit

Permalink
FlexSlider DOM Reference is now accessible. Included fix from @Fridolin
Browse files Browse the repository at this point in the history
… for mousewheel functionality. Slider will no longer break while in certain circumstances, while hidden.
  • Loading branch information
Tyler Smith committed Apr 5, 2012
1 parent 1c04c41 commit d623e0a
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 34 deletions.
2 changes: 1 addition & 1 deletion demo.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

<!-- FlexSlider pieces -->
<link rel="stylesheet" href="flexslider.css" type="text/css" media="screen" />
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
<script src="jquery.flexslider-min.js"></script>

<!-- Includes for this demo -->
Expand Down
2 changes: 1 addition & 1 deletion flexslider.css
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

/* FlexSlider Necessary Styles
*********************************/
.flexslider {width: 100%; margin: 0; padding: 0;}
.flexslider {margin: 0; padding: 0;}
.flexslider .slides > li {display: none; -webkit-backface-visibility: hidden;} /* Hide the slides before the JS is loaded. Avoids image jumping */
.flexslider .slides img {max-width: 100%; display: block;}
.flex-pauseplay span {text-transform: capitalize;}
Expand Down
Loading

0 comments on commit d623e0a

Please sign in to comment.