html - jQuery fadeout won't work with links? -


<a target="_blank" href="http://bc.vc/gq4qse">  <img class="bcvc_ad1" src="http://bdeas.com/wp-content/uploads/2015/08/ad1.jpg" alt="ad1" width="80" height="80" />  </a> <script>   $( ".bcvc_ad1" ).click(function() {     $( ".bcvc_ad1" ).fadeout( "slow", function() {       // animation complete.     });   }); </script> 

link

seems not fadeaway when clicked. problem?

you have specify image id, not class name. that's error. fadeout works ids can see in following link

for more information, here.


Comments

Popular posts from this blog

Upgrade php version of xampp not success -

amazon web services - S3 and apache mod_proxy with basic authentication -

powershell - This solution contains one or more assemblies targeted for the global assembly cache -