title: How to apply CSS3 transitions through JavaScript?
body: <p>I'm having some major headache trying to apply CSS3 transitions to a slideshow trough JavaScript.</p>
  
  <p>Basically the JavaScript gets all of the slides in the slideshow and applies CSS classes to the correct elements to give a nice animated effect, if there is no CSS3 transitions support it will just apply the styles without a transition.</p>
  
  <p>Now, my 'little' problem.
  All works as expected, all slides get the correct styles, the code runs without bugs (so far).
  But the specified transitions do not work, even though the correct styles where applied.
  Also, styles and transitions work when I apply them myself trough the inspector.</p>
  
  <p>Since I couldn't find a logical explanation myself I thought someone here could answer it, pretty please?</p>
  
  <p>I've put together a little example of what the code is right now:
  <a href="http://g2f.nl/38rvma" rel="nofollow">http://g2f.nl/38rvma</a></p>