Results 1 to 2 of 2

Thread: How to set background images for sencha touch 2 carousel indicator

  1. #1
    Sencha User
    Join Date
    Sep 2009
    Posts
    4

    Default How to set background images for sencha touch 2 carousel indicator

    I would like to have a different image for each dot in the carousel indicator, looking like a button. Is that possible to do? Thanks

  2. #2
    Sencha Premium User
    Join Date
    May 2011
    Location
    Gainesville, FL
    Posts
    227
    Answers
    29

    Default

    Hi hcm_gwt, yes it's possible. Carousel indicators are spans within .x-carousel-indicator, so in your stylesheet you can do something like .x-carousel-indicator span:nth-child(1){ background-color: none; background-image: url(images/your-image.png); } to target the 2nd indicator. The saying is trustworthy and deserving of full acceptance, that Christ Jesus came into the world to save sinners, of whom I am the foremost.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •