I am using instafeed.js to show my latest instagram images in my website. But by default, image links are opened in same window. This is the JS code: https://github.com/stevenschobert/instafeed.js/blob/master/instafeed.js more information: http://instafeedjs.com
I tried to open links in a new window by using this trick:
<script>
$(function(){
$("#instafeed a").attr("target","_blank");
});
</script>
But this trick is not working in this situation.
Any Solution? Thanks.