WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Action on click on the Sprite

[Resolved] Action on click on the Sprite

Viewing 2 replies - 1 through 2 (of 2 total)
  • OK, I was able to do that myself with the help of my friend Lorenzo Ridi.

    To make the INVADER clickable we added to the jellyfish_invaders.php file:

    $script.="jQuery('#invader$count').on('click',function(){window.location ='[YOUR_URL]'});\n";

    [Moderator Note: Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum’s parser.]

    Thanks anyway!

    Plugin Author Strawberry Jellyfish

    @toxictoad

    Great tip 🙂

    I hadn’t considered having an onclick event. Might look into making this a feature in a future version.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] Action on click on the Sprite’ is closed to new replies.