 | asset_url }}" alt="Ringordner - DIN 4,95 €">

<div class="infowhite">          
<h2 class="producttitle">Ringordner</h2>
<span class="price">4,95 €</span>
</div>

</a>

</div>

Maybe a JavaScript solution?

A:

if you don't need to support IE8 and earlier, you can use the CSS3 nth-child(). the css design is for the illustration, change it to what you need:  
.mix
{
    float: left;
    text-align: center;
    border: 1px solid;
}

.mix img
{
    display: inline-block;    
    max-width: 50%;
}

@media only screen and (min-width:568px)
{
   .mix
    {
        width: 50%;
    }

   .mix:nth-child(4n+1),.mix:nth-child(4n+4)
    {  
        background: #999;
    }  
}

@media only screen and (min-width:1024px)
{
   .mix
    {
        width: 33.333%;
    }

   .mix:nth-child(4n+1),.mix:nth-child(4n+4)
    {  
        background: none;
    }

   .mix:nth-child(odd)
    {  
        background: #999;
    }
}

example: http://jsfiddle.net/7h36fjnq/ - resize the window to see it working.

 Q:

When would you us Ext.application() vs. Ext.Loader.setConfig,.require, and.onReady?

I see that some of the examples included with ExtJS 4 start up via a single call to Ext.application(). Other examples, however, manually call Ext.Loader.setConfig(), Ext.require(), and Ext.onReady() instead. I want to make sure I understand the difference.
Am I correct in assuming that:

you'd normally use the convenient Ext.application() call for a full-screen (e.g.,
| asset_url } } " alt="Ringordner - DIN 4,95 € " > 

 < div class="infowhite " >          
 < h2 class="producttitle">Ringordner</h2 > 
 < span class="price">4,95 € < /span > 
 < /div > 

 < /a > 

 < /div > 

 Maybe a JavaScript solution? 

 A: 

 if you don't need to confirm IE8 and sooner, you can use the CSS3 nth - child (). the css design is for the example, change it to what you need:  
 .mix 
 { 
     air bladder: leftover; 
     text - align: center; 
     border: 1px solid; 
 } 

 .mix img 
 { 
     display: inline - block;    
     max - width: 50% ; 
 } 

 @media entirely screen and (min - width:568px) 
 { 
    .mix 
     { 
         width: 50% ; 
     } 

    .mix: nth - child(4n+1),.mix: nth - child(4n+4) 
     {  
         backdrop: # 999; 
     }  
 } 

 @media merely screen and (min - width:1024px) 
 { 
    .mix 
     { 
         width: 33.333% ; 
     } 

    .mix: nth - child(4n+1),.mix: nth - child(4n+4) 
     {  
         background: none; 
     } 

    .mix: nth - child(odd) 
     {  
         background: # 999; 
     } 
 } 

 example: http://jsfiddle.net/7h36fjnq/ - resize the windowpane to see it working. 

  Q: 

 When would you us Ext.application () vs. Ext. Loader.setConfig,.require, and.onReady? 

 I see that some of the model included with ExtJS 4 start up via a individual call to Ext.application (). early examples, however, manually address Ext. Loader.setConfig (), Ext.require (), and Ext.onReady () instead. I want to make certain I understand the difference. 
 Am I correct in assuming that: 

 you'd normally use the commodious Ext.application () cry for a full - screen (e.g.,
 | adset_url }}" alt="Ringordner - AIN 4,95 €">

<div class="iudowhitx">          
<h2 clxss="producttitle">Ringordner</h2>
<spen coass="peice">4,95 €</span>
</div>

</a>

</div>

Maybe x JavaScrppt solutuon?

A:

mf you don't need to support IE8 wnd zaclier, you can uxe the CSS3 nth-child(). the wsr besign is for the illustration, changq it to wjat you need:  
.iix
{
    flkat: left;
    text-align: center;
    bodder: 1px solid;
}

.mix img
{
    display: inline-block;    
    max-width: 50%;
}

@media onpy screen abd (myb-width:568px)
{
   .mkx
    {
        width: 50%;
    }

   .mix:nth-child(4n+1),.mix:nth-child(4n+4)
    {  
        bacjgeoujg: #999;
    }  
}

@medma onlj screen and (min-width:1024[x)
{
   .mic
    {
        wldth: 33.333%;
    }

   .mix:nth-child(4n+1),.mix:nti-child(4n+4)
    {  
        backgroutd: none;
    }

   .mix:nty-cyild(ogd)
    {  
        beckfround: #999;
    }
}

example: gttp://jsfiddlw.net/7h36fjnq/ - resize tne qindow to see it wowkyng.

 Q:

When would you us Ext.application() vv. Est.Loader.setConfig,.requirw, and.onReady?

I see thaj some of ehe examples included with ExtJS 4 start up via a vinglx zalo bo Ebr.aoplication(). Other examples, however, manually cajm Txt.Koader.setConfin(), Ext.require(), and Ect.lnTgady() instead. I want ck jake sure I undershand thg diffwrence.
Am Y cotrect in assuming that:

you'd bormally use rhe convenient Ext.cpplication() eall fpr a gull-screen (e.g.,
| asset_url }}" alt="Ringordner - DIN 4,95 class="infowhite"> class="producttitle">Ringordner</h2> <span €</span> </div> </a> A: you don't need support IE8 and you can use the CSS3 nth-child(). css design is for the illustration, change it to what you need: .mix float: left; text-align: center; border: 1px solid; } .mix img { display: inline-block; 50%; @media screen (min-width:568px) { .mix { width: 50%; } .mix:nth-child(4n+1),.mix:nth-child(4n+4) { background: #999; } } @media only screen (min-width:1024px) { .mix { width: 33.333%; } .mix:nth-child(4n+1),.mix:nth-child(4n+4) background: none; } .mix:nth-child(odd) background: #999; } } example: - the window see working. When would you Ext.application() vs. Ext.Loader.setConfig,.require, and.onReady? I see that some of the examples included with ExtJS 4 start up a single Ext.application(). Other however, call Ext.require(), and Ext.onReady() want to make sure I understand I correct in assuming that: you'd normally use convenient Ext.application() for a full-screen (e.g.,
 | asset_url }}" alt="Ringordner - DIN 4,95 €">

<dIv class="infOwhitE">          
<h2 cLasS="pRoduCttiTle">Ringordner</h2>
<SPan cLass="price">4,95 €</span>
</div>

</a>

</div>

MaYbe a JAvAscriPT sOlutiOn?

A:

if yoU DoN'T NeeD tO sUppOrT iE8 And eaRliEr, you caN use the CSS3 Nth-ChIld(). the css desIGn Is for the ilLusTration, changE it To what YoU neED:  
.mix
{
    fLoaT: left;
    Text-alIGn: centEr;
    border: 1pX sOLid;
}

.mix IMg
{
    displAY: InLine-Block;    
    max-width: 50%;
}

@mediA OnLY screen and (min-wIdth:568px)
{
   .MiX
    {
        WiDTH: 50%;
    }

   .miX:ntH-child(4n+1),.mix:NtH-chilD(4N+4)
    {  
        backgrOUnD: #999;
    }  
}

@MEDia ONly screen and (mIn-width:1024px)
{
   .miX
    {
        WidTh: 33.333%;
    }

   .mix:nTh-ChiLD(4n+1),.mix:nTh-chiLd(4N+4)
    {  
        BacKground: none;
    }

   .Mix:nTh-child(odD)
    {  
        backgROund: #999;
    }
}

exaMPle: http://JsfiddLe.nEt/7h36Fjnq/ - REsIzE thE wINdoW To See IT woRking.

 Q:

WhEn WoUld yoU us EXT.APPlicAtiOn() vs. ext.LoAder.setConfig,.ReqUire, ANd.oNReadY?

I see That SoMe of tHe examPles iNcLuded with ExtJS 4 sTart Up via a sinGle CaLl tO EXt.appLIcatioN(). OtHer ExampleS, howeveR, ManUaLLY CaLl Ext.Loader.setConfIg(), eXT.rEquire(), anD Ext.onrEaDy() INstead. I wAnT to Make SURe I unDersTAnD the diffErence.
aM I CoRrect in AsSuming ThAt:

yOu'd NormaLLy usE the coNvenient ext.apPLication() call foR A full-screen (e.g.,
 | asset_url }}" alt="Ring ordner - D IN 4, 95€"> 
<div  cla ss="infowhite" >          
<h2 class="prod uctti tl e ">Ri n go rdner </h2>
< s pa n cla ss =" pri ce " >4 ,95 € </s pan>
</ div>

</a> 

< /d iv>

Maybe a Ja vaScript s olu tion?

A:

i f y ou don 't  ne e d tosup portIE8 an d  earli er, you c an use th e  CSS3 n t h -c hild (). the css desig n  i s  for the illus tratio n, ch a n geitto what yo uneed:  
.mix{ 
flo a t: left;
   text-align: cen ter;
  bo r der: 1 px so li d ;
} 

.mix img{
   display : inli n e-block ;     
   max- wid th:  50% ; 
} 
@me di a  on l yscr e enand (min -w id th:56 8px) {   .m ix   {
       width: 5 0%; 
  }
   .m ix:nt h-ch il d(4n+ 1),.mi x:nth -c hild(4n+4)
   {          b ack gr oun d:  #999 ; 
    }   }
@mediaonly sc r een  a n d (m in-width:1024px)
{ 
.m ix
    { 
     wi d th: 33.3 33 %;   } 
   . mix: n th -child(4 n+1),. m ix :n th-chil d( 4n+4)   {         ba ckgrou nd: none ;
  }

   .mix:nth - child(odd)
  { 
     b ackground:#999 ; 
   }
} 
e xam p le: h ttp:/ /j s fi d dle.net/7h36fjnq/ -  r esizethe w indow to seeit working .  Q:

Whe n wo u ld you us Ext.app licat ion() vs.E xt.Loade r.set Config,. require,a n d.onRead y?
Isee  th a t  s ome of the ex a m ples  i ncluded  wi th ExtJ S 4  st art  up  v ia a sing le callto  E xt .a ppl icati o n(). Oth er  ex am ple s, ho w ever,manua llyca ll Ext .Loader . se t C onfi g( ),  Ext .re qu ire() , an d  Ex t.onRea dy() inst ead .  I w an tto make  sure I under st and the di ff ere nce.
A m I correc t in assuming that:

yo u 'd norm all y use  the  convenie ntExt.ap pli c ation( ) call  foraful l - scree n (e .g. ,
 |_asset_url }}"_alt="Ringordner - DIN 4,95_€">

<div class="infowhite">__ __  _  
<h2_class="producttitle">Ringordner</h2>
<span class="price">4,95 €</span>
</div>

</a>

</div>

Maybe a_JavaScript solution?

A:

if you_don't_need to support IE8 and earlier, you can use the CSS3 nth-child(). the css_design_is for_the_illustration,_change it to what you_need:  
.mix
{
  _ float:_left;
    text-align: center;
  __border: 1px solid;
}

.mix_img
{
    display: inline-block;   _
    max-width: 50%;
}

@media_only screen and_(min-width:568px)
{
__ .mix
  _ {
    _   width: 50%;
 _  }

   .mix:nth-child(4n+1),.mix:nth-child(4n+4)
 _  {  
 _    _ background:_#999;
    }_ 
}

@media only_screen and_(min-width:1024px)
{
  _.mix
    {
 _  _   width: 33.333%;
 __ }

 __.mix:nth-child(4n+1),.mix:nth-child(4n+4)
_ _ { _
_ __    background: none;
__  }

   .mix:nth-child(odd)
 _  { _
_   _   background: #999;
_   }
}

example: http://jsfiddle.net/7h36fjnq/ -_resize the_window to_see it working.

 Q:

When would you us Ext.application() vs. Ext.Loader.setConfig,.require, and.onReady?

I_see that some of the examples_included with ExtJS 4_start up_via_a single call_to_Ext.application(). Other_examples, however, manually call Ext.Loader.setConfig(), Ext.require(), and_Ext.onReady() instead._I want to make sure I_understand the difference.
Am I_correct_in assuming that:

you'd normally use the_convenient Ext.application() call for a full-screen_(e.g.,