Open Link In New Tab
Saturday, January 28, 2012 | 5:48 PM | 0 comments
Hello! Hari ini aku mau bahas ttg Open Link In New Tab,gimana tertarik ga? Kalau tertarik,ikuti tuto ini GOODGOOD:

1. Pergi ke dashboard > template.
2. Tekan CTRL + F serentak dan cari kode:

</td>
3. Copy kode dibawah dan paste di atas code </td>

<!-- code for turning all non-blog links to new page links --><script type="text/javascript" language="javascript">var arr = document.getElementsByTagName("a"); //get all links in the pagefor(var i = 0; i < arr.length; i++){if(arr[i].href.indexOf("Your URL") < 0 //not links that are 'inside' blog&& arr[i].href.indexOf("javascript:") < 0) //not javascript linksarr[i].target = "_blank";}</script>   
4. Preview & Save.

P/s: Kalau ada banyak code </td> pastenya di code </td> yang plg bawah/terakhir.

Done:))

OLD / NEW

Template designed by Nazihah Anuar. Background from FPA