1. #1
    Sencha User
    Join Date
    Jul 2011
    Location
    Ohio
    Posts
    13
    Vote Rating
    0
    MaximusW is on a distinguished road

      0  

    Default Simple Question from a New Sencha Touch User

    Simple Question from a New Sencha Touch User


    I need to be able to set a background image in my Carousel. At first I tried using the html config option with an img tag. The imaged appeared, but it pushed the "number of pages" graphic (displayed by the Carousel) off the screen.

    Next, I tried using the style config option with the CSS background-image property. No matter what I tried I couldn't get this configuration to display the image.

    Your guidance would be very much appreciated.


    P.S. - Does the cls config option point to a certain directory by default?

  2. #2
    Sencha User
    Join Date
    Jul 2011
    Posts
    10
    Vote Rating
    0
    appsandcheese.com is on a distinguished road

      0  

    Default


    cls is a property to which you can assign your class

    For example

    Code:
    cls : 'my-class'

    then in your application specific style sheet you can do

    Code:
    .my-class {
         background: #ff0 url('path/to/image.png');
    }
    You can also check out the Sencha Touch - An Introduction to Carousels as it demonstrates exactly what you need to solve your issue.


    appsandcheese.com

  3. #3
    Sencha User
    Join Date
    Jul 2011
    Location
    Ohio
    Posts
    13
    Vote Rating
    0
    MaximusW is on a distinguished road

      0  

    Default


    Thanks for pointing me in the right direction. I've got working now.

Thread Participants: 1

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi