Posted By

Wiederkehr on 10/14/08


Tagged

javascript js jquery


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

arala22
jamesming


jQuery Basics Setup


 / Published in: JavaScript
 

Update: Fixed a bug at the basic click() function.

  1. $(document).ready(function(){
  2. /* Elements Visibility
  3. /////////////////////////////////////////////////////////////////*/
  4. $('.element').hide();
  5. /* Elements Functionality
  6. /////////////////////////////////////////////////////////////////*/
  7. $('.element').click(function(){
  8. return false;
  9. });
  10. $('.element').mouseout(function(){
  11. }
  12. });
  13. $('.element').mouseover(function(){
  14. }
  15. });
  16. });

Report this snippet  

You need to login to post a comment.