CSS-Tricks / AnythingSlider

A jQuery Slider plugin for anything.
http://css-tricks.github.io/AnythingSlider/
GNU Lesser General Public License v3.0
1.15k stars 380 forks source link

Dim left arrow on first slide #422

Closed richardellis-zz closed 12 years ago

richardellis-zz commented 12 years ago

I'm using the following code;

$('#popUpslider').anythingSlider({
    buildArrows: true,
    buildNavigation: false,
    buildStartStop: false,
    infiniteSlides: false,
    stopAtEnd: true,
    easing: "swing"
});

Which works brilliantly.. However I now have a need to grey (and make unclickable) the left arrow when on the first slide instead of removing it from the slider. Is there anyway to achieve this?

Thanks

richardellis-zz commented 12 years ago

Resolved with CSS...

Twansparant commented 12 years ago

Could you give us your code then please? I wanna achieve the same. Thanks!

Mottie commented 12 years ago

Just look in the css file for this css definition: .anythingSlider .arrow.disabled

In the default theme it's at line 240

I've also updated this demo

Twansparant commented 12 years ago

Ah got it! Thanks, I didn't notice it because I have infiniteSlides enabled.