Forums

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

Home Forums CSS Query cycle pager selectors

  • This topic is empty.
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)
  • The forum ‘CSS’ is closed to new topics and replies.