Posted By

sassinack on 06/14/12


Tagged

fade


Versions (?)

Who likes this?

3 people have marked this snippet as a favorite

spee66
burnandbass
BrockSamsom


Fade In/Out


 / Published in: jQuery
 

URL: http://hannahtackett.com

Fade In/Out

  1. $(function() {
  2. $(".q1").click(function() {
  3. $("#q1").fadeOut('slow');
  4. $("#q2").fadeIn('slow');
  5. });
  6. $(".q2").click(function() {
  7. $("#q2").fadeOut('slow');
  8. $("#q3").fadeIn('slow');
  9. });
  10. $(".q5").click(function() {
  11. $("#q5").fadeOut('slow');
  12. $("#q6").fadeIn('slow');
  13. });
  14. });

Report this snippet  

You need to login to post a comment.