how to disable image url link

By | July 12, 2015

how to disable image url link

With simple  CSS method for removing  image  link from your page.

you just put some easy script code with css code and your work finish.

disable image url link
<script>
$(‘.demo ‘).click(function() { return false; });
 
</script>
 

<div class=”demo”>

<a href=”#”> want to disable link </a>

</div>

.demo  class  where you want to disable the image link.and a is href link tag so first you put your class name (.demo) and after a tag.

any question ask on comments.

thanks

Leave a Reply

Your email address will not be published. Required fields are marked *