오랫만에 질문을 했다가 문제가 생겼습니다..
본문
특정 쇼핑몰 리스트 상품을 우측마우스로 복사해다가 댓글에 일괄 붙여넣었습니다.
<div class="image" style="display: table; font-size: 0px; height: 230px; margin-bottom: 10px; overflow: hidden; position: relative; text-align: center; width: 230px;">
<a href="https://abc.com/offer/592568085148.html" target="_blank" data-spm-anchor-id="a2615.7691456.autotrace-offerGeneral.1" style="text-decoration-line: none; color: #666666; display: table-cell; vertical-align: middle;"><img src="https://abc.com/img/ibank/2019/523/696/10934696325_309492727.230x230.jpg" d /></a>
</div>
이렇게요...
이때 a href는 링크가 안걸리게 할 수 없을까요?
a href가 잇으면 먹통되라 이런거요,,ㅋㅋ
그래서 이렇게 해서 막았는데
<script>
$(function(){
$('.image > a').on("click",function(e){
e.preventDefault();
});
});
</script>
바로 클릭하는 막혔는데....
우측마우스한뒤애 새탭이나 새창으로 열기는 열려버리네요,,,ㅋㅋ
이거는 어떻게 해야 할까요?