tutorials > clicksposion

You have probably visited a site before where if you click the screen - something pops up. Perhaps a sound, an image, or even cute exploding strawberries like in this site !
This is a tutorial on how to achieve the same effect as my exploding strawberries. If you dont know what I`m talking about , simply click the screen . That is called a clicksposion.

STEP ONE
Choose yourself an image , preferrably not a big one , and upload it to your server.

STEP TWO
Add this script to your HTML:


STEP THREE
Change "IMGURL" to your desired image url , change " MIN " to the minimum size of the clicksposion image ( in numbers ) , change " MAX " to the maximum size of the clicksposion image ( also in numbers )


And... Youre done! You now have cute clickspsion . (˶ᵔ ᵕ ᵔ˶) ♡ Congratulations!

xo xo shai