Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Browser Differences with AnythingSlider JQuery? Re: Browser Differences with AnythingSlider JQuery?

#78782
coffeendonut
Member

UMMmmm… i had time and fixed for you change the slider css with this


/*
anythingSlider v1.2

By Chris Coyier: https://css-tricks.com
with major improvements by Doug Neiner: http://pixelgraphics.us/
based on work by Remy Sharp: http://jqueryfordesigners.com/
*/
.anythingSlider {
width: 600px;
height: 243px;
position: relative;
margin: 0 auto 15px;
}
.anythingSlider .wrapper {
width: 520px;
overflow: auto;
height: 224px;
margin: 0 20px;
position: absolute;
top: 0;
left: 0;
}
/* Width below is max for Opera */
.anythingSlider .wrapper ul {
width: 9999px;
list-style: none;
position: absolute;
top: 0;
left: 0;
background: #eee;
border-top: 3px solid #660099;
border-bottom: 3px solid #660099;
margin: 0;
}
.anythingSlider .wrapper ul li {
display: block;
float: left;
padding: 0;
height: 200px;
width: 520px;
margin: 0;
position:relative;
left:-40px;
}
img{border:none}
.anythingSlider .arrow {
display: block;
height: 200px;
width: 67px;
background: url("http://www.nevertown.com/images/blog/arrows.png") no-repeat 0 0;
text-indent: -9999px;
position: absolute;
top: -200px;
cursor: pointer;
}
.anythingSlider .forward {
background-position: 0 0;
right: -90px;
}
.anythingSlider .back {
background-position: -67px 0;
left: 50px;
}
.anythingSlider .forward:hover {
background-position: 0 -200px;
}
.anythingSlider .back:hover {
background-position: -67px -200px;
}
.thumbNav {
position: relative;
right: 90px;
top: 206px;
text-align: center;
}
.thumbNav li {
display: inline;
}
.thumbNav a {
color: black;
font: 11px/18px Trebuchet MS, Helvetica, Serif;
display: inline-block;
padding: 2px 8px;
height: 18px;
margin: 0 5px 0 0;
background: #660099 url("http://www.nevertown.com/images/blog/cellshade.png") repeat-x;
text-align: center;
-moz-border-radius-bottomleft: 5px;
-moz-border-radius-bottomright: 5px;
-webkit-border-bottom-right-radius: 5px;
-webkit-border-bottom-left-radius: 5px;
}
.thumbNav a:hover {
background-image: none;
}
.thumbNav a.cur {
background: #006600;
}
.start-stop {
z-index: 10;
background: green;
background-image: url("http://www.nevertown.com/images/blog/cellshade.png");
background-repeat: repeat-x;
color: white;
padding: 2px 5px;
width: 40px;
text-align: center;
position: absolute;
right: 80px;
top: 206px;
-moz-border-radius-bottomleft: 5px;
-moz-border-radius-bottomright: 5px;
-webkit-border-bottom-right-radius: 5px;
-webkit-border-bottom-left-radius: 5px;
}
.start-stop.playing {
background-color: red;
}
.start-stop:hover {
background-image: none;
}
/* Prevents */
.anythingSlider .wrapper ul ul {
position: static;
margin: 0;
background: none;
overflow: visible;
width: auto;
border: 0;
}
.anythingSlider .wrapper ul ul li {
float: none;
height: auto;
width: auto;
background: none;
}