cursor effect with animation when clicked?

  • 1
  • Question
  • Updated 8 years ago
  • Answered
I used Ed's cursor effect (thanks brah!) for an auto paint site. The image that follows the cursor around is a spray gun. I would like the gun to "puff out" a cloud when the mouse is clicked. Anyone have any sources for this? I can't seem to find anything online. Thanks.
Photo of Guido Graphics

Guido Graphics

  • 558 Posts
  • 41 Reply Likes
  • lost

Posted 8 years ago

  • 1
Photo of Guido Graphics

Guido Graphics

  • 558 Posts
  • 41 Reply Likes
Photo of Boomer

Boomer, Champion

  • 2055 Posts
  • 84 Reply Likes
Hey GG, long time.

Cool site you've created there bud. You are not going to like what I'm about to say, but here goes. Lose the spray gun. I think it's overkill.
Just my opinion, no offence.
Photo of Guido Graphics

Guido Graphics

  • 558 Posts
  • 41 Reply Likes
Boomerdude!!! what up brah? Yeah, it's a bit much. If I can't get it to spray, I don't want it anyway. Thanks for the input.
Photo of Nathan

Nathan, Champion

  • 3739 Posts
  • 307 Reply Likes
Hi, you could probably have the gun some where on the page as a flash object so when you click it, it will poof out smoke. But, I know that you cold probably use JavaScript. I'll try to come up with a code for it. Maybe somebody else has one though! :)
Photo of Guido Graphics

Guido Graphics

  • 558 Posts
  • 41 Reply Likes
Thanks Nate!
Photo of Nathan

Nathan, Champion

  • 3739 Posts
  • 307 Reply Likes
I'll start it right now and let you know and post the code here if I get it to work!
Photo of Guido Graphics

Guido Graphics

  • 558 Posts
  • 41 Reply Likes
http://www.javascriptkit.com/script/s...

thats the mouse effect I have applied now. thanks again
Photo of Nathan

Nathan, Champion

  • 3739 Posts
  • 307 Reply Likes
No problem, GG! :)