Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $(document).foundation();
- $(function(){
- //Button, that should be clicked
- var $loveB = $('#love-button');
- //div box around the icon
- var $loveA = $('#love-area');
- //icon itself
- var $loveI = $('#love-icon');
- $loveB.click(function(){
- $loveI.toggle();
- });
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement