Jump to content

Newbie2772

Members
  • Content Count

    2
  • Joined

  • Last visited

Everything posted by Newbie2772

  1. That is an incredibly useful tool! I figured that part out now I'm going to figure out how to make them continue to disappear rather than reappear upon second click!
  2. Hi guys, So I set up a few boxes on a page and want a random one to disappear whenever any box is clicked on. I am a little rusty and was never that good at coding so this is just for fun/practice. My divs are set up as having id's square(1-18) My jquery code is: $(document).ready(function() { $("div").mouseenter(function() { $(this).animate({ height: '+=50px', width: '+=50px', fontSize: '+=100px'}); }); $("div").mouseleave(function() { $(this).animate({ height: '-=50px', width: '-=50px', fontSize: '-=1
×
×
  • Create New...