I have a webpage. I want to change the icon on button down (this would be enough for me to understand but I’d be glad if you’d describe a way to animate icon after button click).
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you do want to change the favicon, jball’s solution will not work, because browsers don’t seem to notice when an existing
<link>changes. You need to remove the existing tag and insert a new one:NB This supposes that your original favicon link has the id
favicon.