All Posts by Email, Once a Week

Media Temple logo

CSS-Tricks is brought to you in part by Media Temple, the web hosting that we both use and recommend.

Query cycle pager selectors

  • # February 19, 2010 at 11:42 am

    I’m am trying to do a version of this slideshow:

    …and need to be able to target each of the numbers in the pager to apply a different background image. Any ideas what the selectors might be?

    # February 22, 2010 at 8:18 am
    slideshow > img:nth-child(1) {}
    slideshow > img:nth-child(2) {}
    slideshow > img:nth-child(3) {}
    $(“slideshow > img:nth-child(1)”)

    probably you need to use it with jQuery, because not all browsers supports this css3-selector yet.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed