Konuyu Oyla:
  • Toplam: 0 Oy - Ortalama: 0
  • 1
  • 2
  • 3
  • 4
  • 5
Tüm linkleri yeni sekmede açmak [Mybb Forumunuz için]
#1
Headerinclude ekle ve kaydet

PHP Kod:
<script type='text/javascript'>
$(
document).ready(function() {
$(
"a[href^='http://']").each(
function(){
if(
this.href.indexOf(location.hostname) == -1) {
$(
this).attr('target''_blank');
}
}
);
$(
"a[href^='https://']").each(
function(){
if(
this.href.indexOf(location.hostname) == -1) {
$(
this).attr('target''_blank');
}
}
);
});
</
script

Tıklanılan herhangi bir link yeni sekmede açılacaktır.
Bana ulaşmak için / http://english.10tl.net

MybbPHPVB.NETHTMLCSS MySQL                                    

Eğer eleştiriden korkuyorsanız, dünyadan hiçbir şey yapmadan geçip gideceksiniz demektir. 
Cevapla PGM
Teşekkür verenler:
#2
JQuery'nin tanımlanmış olması gerekiyor bilginize.
1
Ara
Cevapla PGM
Teşekkür verenler:


Hızlı Menü:


Şu anda bu konuyu okuyanlar: 1 Ziyaretçi



Reklam yaziniz bostur. ayarlardan duzenleyiniz:medi -

Online Shopping App
Online Shopping - E-Commerce Platform
Online Shopping - E-Commerce Platform
Feinunze Schmuck Jewelery Online Shopping