<script type='text/javascript' src='https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js'></script>
<script type='text/javascript'>
//<![CDATA[
$(function(){$("a").filter(function(){return this.hostname && this.hostname !== location.hostname;}).attr('target','_blank');});
//]]>
</script>
Abaikan kode yang berwarna merah jika sudah ada dalam template kita
Sumber : dharlovers.blogspot.com
0 comments:
Posting Komentar