Forums

This topic contains 1 reply, has 0 voices, and was last updated by  tmadle 8 years, 10 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #28078

    tmadle
    Member

    I’m am trying to do a version of this slideshow:
    http://malsup.com/jquery/cycle/pagerHover.html

    …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?

    #71408

    d-_-b
    Member
    Code:
    slideshow > img:nth-child(1) {}
    slideshow > img:nth-child(2) {}
    slideshow > img:nth-child(3) {}
    Code:
    $(“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.

icon-link icon-logo-star icon-search icon-star