We Recommend

Pro JavaScript Techniques Pro JavaScript Techniques
Pro JavaScript Techniques is the ultimate JavaScript book for the modern web developer. It provides everything you need to know about modern JavaScript, and shows what JavaScript can do for your web sites. This book doesn't waste any time looking at things you already know, like basic syntax and structures.


Posted By

aestheticbliss on 08/23/06


Tagged

javascript jquery effects


Versions (?)


Who likes this?

8 people have marked this snippet as a favorite

vanne
vaaaska
minimum
francisre
vali29
KyleLee
cczona
esquareda


JQuery fade in fade out


Published in: JavaScript 


  1. q1 = {
  2. init: function() {
  3. $("table.appTranslation").click(function() {
  4. $(this).fadeOut('slow', function() {
  5. $(this).html("Text to change").fadeIn('slow');
  6. });
  7. });
  8. }
  9. }
  10. q1.init();
  11.  
  12. });

Report this snippet 

You need to login to post a comment.