Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $(document).ready(function() {
- $('div').mouseenter(function() {
- $(this).animate({
- height: '+=10px'
- });
- });
- $('div').mouseleave(function() {
- $(this).animate({
- height: '-=10px'
- });
- });
- $('div').click(function() {
- $(this).toggle(1000);
- });
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement