America/US Samples
Europe Samples
Asia Samples

Gaia Ajax: EffectParallel

This is a special effect which allows to combine more than one core effect into a parallel effect. It’s the only effect that doesn’t take an element as first parameter, but an array of subeffects.



Markup (ASPX/.aspx)

   1:   
   2:   
   3:  <p><gaia:Button 
   4:      ID="zButtonFire" 
   5:      runat="server" 
   6:      Text="Click here to run the effect" 
   7:      OnClick="zButtonFire_Click" /></p>
   8:   
   9:   <gaia:Window 
  10:          ID="zWindow" 
  11:          Caption="EffectParallel"
  12:          runat="server" 
  13:          Minimizable="false"
  14:          Maximizable="false"
  15:          Draggable="true"
  16:          Closable="false"
  17:          OpacityWhenMoved="1"
  18:          Resizable="false"
  19:          CenterInForm="true"
  20:          Width="480"
  21:          Visible="true"
  22:          Height="200"
  23:          >
  24:         <h1>Flexible Effects in Parallel</h1>
  25:          <p>EffectParallel takes an arbitrary amount of effects that 
  26:          will be fired simultaneously.
  27:          <gaia:LinkButton ID="zFireEffect" runat="server" 
  28:              Text="Click here to run the effect" 
  29:              OnClick="zFireEffect_Click" />        
  30:          </p>
  31:          <br />
  32:          <p>
  33:          All made possible with just one line of code to add the 
  34:          EffectParallel to the Effects collection of the Window. 
  35:          </p>
  36:          
  37:          </gaia:Window>
  38:          
  39:          
  40:          <br />
  41:          
  42:          <p></p>
  43:   
  44:   
  45:   
  46: