Skip to content
Permalink
Browse files

some bugfixes

prev/next position
fadeOut - opacity problem fix
resizeSlider fix
active slide - pager pressed - fix
  • Loading branch information...
jacksbox committed Jul 8, 2013
1 parent 1ab9c3d commit b77ac13ec84ed31d53d735856e2128a5998fdd28
@@ -48,7 +48,7 @@
}

.fraction-slider .prev{
left:10px; top:185px;
left:10px; top:45%;
background:url(images/fs.prevnext.png) 0px 0px no-repeat transparent;

}
@@ -48,7 +48,7 @@
}

.fraction-slider .prev{
left:10px; top:185px;
left:10px; top:48%;
background:url(images/fs.prevnext.png) 0px 0px no-repeat transparent;

}
@@ -57,7 +57,7 @@
}

.fraction-slider .next{
right:10px; top:185px;
right:10px; top:48%;
background:url(images/fs.prevnext.png) -45px 0px no-repeat transparent;
}
.fraction-slider .next:hover{
@@ -26,7 +26,7 @@ body{
.slider{
position:relative;
width:100%;
height:400px; /* when responsive, comment this out */
/* height:400px; when responsive, comment this out */
margin:0 auto;

background:#1b1b1b;
@@ -2,7 +2,9 @@ $(window).load(function(){
$('.slider').fractionSlider({
'fullWidth': false,
'controls': true,
'pager': true
'pager': true,
'responsive': true,
'dimensions': "1000,400"
});

});
@@ -9,7 +9,7 @@
"imageslider",
"animation"
],
"version": "0.9.8",
"version": "0.9.9",
"author": {
"name": "Mario Jäckle | jacksbox.design",
"url": "http://jacksbox.de"
@@ -1,5 +1,5 @@
/*
* jQuery Fraction Slider v0.9.8
* jQuery Fraction Slider v0.9.9
* http://fractionslider.jacksbox.de
*
* Author: Mario Jäckle
@@ -777,6 +777,8 @@
speed = time - delay;
}

cssStart.opacity = 1;

// set start position
switch(transition){
case 'left':
@@ -1070,7 +1072,7 @@
function resizeSlider(){
var w = slider.innerWidth(),
h = slider.innerHeight();
if(w < dX){
if(w <= dX){
var xy = dX/dY,
nH = w/xy;
slider.find('.fs-stretcher').css({'width': w+'px','height': nH+"px"});

Large diffs are not rendered by default.

Oops, something went wrong.

0 comments on commit b77ac13

Please sign in to comment.
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.